Home  >  Forum  >  Android
Post New Query

Android remove action bar using AndroidManifest.xml



Asked on September 19, 2015
How to remove action bar in Android using AndroidManifest.xml.






Replied on September 19, 2015
Use @android:style/Theme.NoTitleBar

Use in application tag that will be applied for all Activity.
 <application 
        ---------
        --------- 
        android:theme="@android:style/Theme.NoTitleBar">
        <activity android:name=".MainActivity">
--------------------
--------------------
        </activity>
    </application>
</manifest>

Use per Activity wherever required.

 <application 
        ---------
        --------->
        <activity android:name=".MainActivity" android:theme="@android:style/Theme.NoTitleBar">
--------------------
--------------------
        </activity>
    </application>
</manifest>



Replied on September 19, 2015
Thanks

Write Answer








©2019 concretepage.com | Privacy Policy | Contact Us