I\'m trying to remove/disable the ActionBar. I tried to put in the Manifest:
in your oncreate()
method use this
getActionBar().hide();
If your minSdkVersion
is 10 or lower, instead use:
getSupportActionBar().hide();
You can try this. It works for me
Add it in style.xml
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
</style>
and use the style at manifest.xml.
android:theme="@style/AppTheme.NoActionBar"