Android Question Permanently hiding video controls

zetadan

Member
Licensed User
Longtime User
I am using the following code from Erel to hide/show the video controls in a video view.
B4X:
Sub MediaControllerVisible(vv As VideoView, visible As Boolean)
  Dim r As Reflector
  r.Target = vv
  r.Target = r.GetField("mMediaController")
  If visible Then r.RunMethod("show") Else r.RunMethod("hide")
End Sub
The problem is when I touch the screen the controls come back. Is there a way to prevent the controls from appearing?
 
Top