I'm trying to remove/disable the ActionBar. I tried to put in the Manifest:
<activity
...
android:theme="@android:style/Theme.NoTitleBar"
</activity>
and it doesn't work. It doesn't remove the ActionBar. Please help me. Thanks.
I'm trying to remove/disable the ActionBar. I tried to put in the Manifest:
<activity
...
android:theme="@android:style/Theme.NoTitleBar"
</activity>
and it doesn't work. It doesn't remove the ActionBar. Please help me. Thanks.
I think this should work.
I had this issue too. I went to
styles.xml
and changedto
and that removed it from all my activities.
You can try this. It works for me
Add it in style.xml
and use the style at manifest.xml.
In AndroidManifest.xml and acitivity section put this code.
or
But the change might not appear in the xml design.
in your
oncreate()
method use thisIf your
minSdkVersion
is 10 or lower, instead use: