5

In my app I have an ActionBar and have set android:uiOptions="splitActionBarWhenNarrow" in the manifest so on phones the it appears at the bottom.

I also set the following in code:

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

When I run the application in the emulator, I see the actionbar at the bottom but a black empty space where the icon and title should be if I don't disable them.

Can this be removed?

Its like this:

enter image description here

I started with left image before adding the code above and rather than seeing the centre image I see it as the right-hand image. I am not using the tabs in the images.... does this matter? Just using image for explanation!

adneal
  • 30,484
  • 10
  • 122
  • 151
neildeadman
  • 3,974
  • 13
  • 42
  • 55

1 Answers1

1

Did you try to put:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

inside your AndroidManifest.xml?

Nakayama
  • 156
  • 2
  • 11