I declare my activity in manifest file like following.
<activity
android:name=".SiteView"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
android:screenOrientation="landscape" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
I declare activity with Fullscreen theame. But its not working.
I also use second way for Fullscreen like following.
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
But no success. Please help me to find this.
I solve it by using by declaring fullscreen theame at application level.
<application android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
Try to change theme into this: android:theme="@android:style/Theme.NoTitleBar"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With