webview with full screen in android
i have made a simple hello web view example and i want to make it in full screen like i do not want that two top most black bars.
anybody have any idea how to do that?
thanks a lot.
2 Solutions collect form web for “webview with full screen in android”
The quickest way to do this would be to add
Into your activity in the AndroidManifest.xml file
Alternatively you can do it programmatically in the OnCreate method of your Activity :
//Full screen requestWindowFeature(Window.FEATURE_NO_TITLE); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);