Home  >  Forum  >  Android
Post New Query

Android remove action bar using AndroidManifest.xml


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



joined on
October 10,2013
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>
joined on
January 20,2015
Replied on September 19,2015

Thanks

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us