Reputation: 3807
I am adding MediaController to a VideoView, but it does not show up unless I tap the phone. The controller disappears after a while.
Is there a way I can have the MediaController show always?
Thanks Chris
Upvotes: 6
Views: 9048
Reputation: 13349
The below code shows MediaController always:
VideoView videoView;
MediaController mc;
videoView.setMediaController(new MediaController(this)
{
public void hide()
{
System.out.println("HIDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEHELLLOO");
mc.show();
}
});
Upvotes: 5