最終更新:2012-10-08 (月) 14:47:47 (4210d)
android.widget.MediaController
Top / android.widget.MediaController
A view containing controls for a MediaPlayer.
http://developer.android.com/reference/android/widget/MediaController.html
The MediaController? will create a default set of controls and put them in a window floating above your application.
クラス継承
- java.lang.Object -> android.view.View -> android.view.ViewGroup -> android.widget.FrameLayout -> android.widget.MediaController
動作
- フロート表示
- 3秒何もしないと非表示
ボタン
- Play/Pause
- Rewind
- Fast Forward
- The "previous" and "next" buttons are hidden until setPrevNextListeners?() has been called
- The "previous" and "next" buttons are visible but disabled if setPrevNextListeners?() was called with null listeners
- The "rewind" and "fastforward" buttons are shown unless requested otherwise by using the MediaController?(Context, boolean) constructor with the boolean set to false
関連
- android.media.MediaPlayer
- VidoView.setMediaController? (android.widget.VideoView)