问题
Is there a way to launch the android browser from an app in Full Screen Mode such that the address bar is not visible? Any examples or guidance would be much appreciated.
回答1:
Depending on your requirements, a WebView
might be sufficient. Tutorial can be found here.
回答2:
You can simply set full screen mode by
First approach:
just add to your Manifest.xml
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
Second approach:
requestWindowFeature(Window.FEATURE_NO_TITLE)
Third approach:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN)
来源:https://stackoverflow.com/questions/10988564/launching-android-browser-in-full-screen-mode-from-app