Search code examples
androidhideandroid-videoview

How to hide the controls in the VideoView in Android?


I am using VideoView for playing video in my app but I would like to hide the controls in it. How can I do that? Thanks.


Solution

  • To the Controls in the VideoView, we can set MediaController to null.

    videoView.setMediaController(null)