Back to project page kure-music-player.
The source code is released under:
GNU General Public License
If you think the Android project kure-music-player listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kure.musicplayer; /*from w w w .ja va 2 s . c o m*/ import android.content.Context; import android.widget.MediaController; /** * Widget that shows some cute buttons to control * the music playback. * * The actual code for changing the music resides * at MusicService, we're only changing the appearance * of things. */ public class MusicController extends MediaController { public MusicController(Context c) { super(c); } /** * We're overriding the parent's `hide` method, so we * can prevent the controls from hiding after 3 seconds. */ /*public void hide() { }*/ }