Monday, August 3, 2015

Hiding the Status Bar and the Action Bar in Android

Just use this code in styles.xml in your project

 <resources>
    <style name="AppTheme" parent="android:Theme.Holo.Light">
        <!--  <item name="android:actionBarStyle">@style/ActionBar</item> -->        <item name="android:actionBarStyle">@style/NoActionBar</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <!-- <item name="android:panelBackground">@color/menu_background</item> -->    </style>
    <style name="NoActionBar" parent="@android:style/Theme.Holo.Light"> </style>
</resources>

No comments:

Post a Comment