In the Previous post, I created a project with VPI Libary and AppCompat Library to Show Swipy Tabs in android.
But , If i don't want the ActionBar at the Top, We can hide/remove it through styles.xml file
Styles.xml
=========
NoActionBar
<style name="NoActionBar" parent="Theme.AppCompat.Light">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>
For full Screen
<style name="NoActionBar" parent="Theme.AppCompat.Light">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
ScreenShot of the app
----------------------
But , If i don't want the ActionBar at the Top, We can hide/remove it through styles.xml file
Styles.xml
=========
NoActionBar
<style name="NoActionBar" parent="Theme.AppCompat.Light">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>
For full Screen
<style name="NoActionBar" parent="Theme.AppCompat.Light">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
</style>ScreenShot of the app
----------------------
Android tabs without ActionBar |
No comments:
Post a Comment