[1] Hiding Application Title
Request window feature. In the onCreate method of Activity, Add the following linerequestWindowFeature(Window.FEATURE_NO_TITLE);
OR
In AndroidManifest.xml file use the following android theme for your activity<activity android:name=".YourActivityClassName" android:theme="@android:style/Theme.NoTitleBar"> </activity>
<activity android:name=".YourActivityClassName" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> </activity>
[2] Hiding App Title and Status Bar(Notification Bar)
Request window feature. In the onCreate method of Activity, Add the following linegetWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
OR
In AndroidManifest.xml file use the following android theme for your activity<activity android:name=".YourActivityClassName" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> </activity>
No comments:
Post a Comment