akhgupta / WebviewVideo

sample app for displaying Html5Video using Webview in Android
106 stars 52 forks source link

Show/hide Actionbar on tap of screen for full screen mode #4

Open NehaParmar opened 9 years ago

NehaParmar commented 9 years ago

Using this demo, I need to show or hide action bar when user taps on the screen for full screen mode. I tried by setting on touchlistener for webview and customviewcontainer. by setting touchlistener to webview it works for normal mode but not working for full screen mode. Can you guide where am I going wrong ?

manel00 commented 9 years ago

Hello! I think that you tried to set "this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);" I did it on my Activity!