ActionBar below without TitleBar

In my application, I have an ActionBar and set it android:uiOptions="splitActionBarWhenNarrow"in the manifest, so on phones it will appear below.

I also installed the following in code:

actionBar.setDisplayShowTitleEnabled(false);
actionBar.setDisplayShowHomeEnabled(false);

When I launch the application in the emulator, I see the action bar at the bottom, but there is a black empty place where the icon and title should be, if I do not disable them.

Can this be deleted?

This is something like this:

enter image description here

I started with the left image before adding the code above, and instead of seeing the center image, I see it as the right image. I do not use tabs in images .... does it matter? Just use the image to explain!

+5
source share
1 answer

You tried to put:

Android: = "@: /Theme.NoTitleBar.Fullscreen"

AndroidManifest.xml?

+1

All Articles