3

I am using Action bar with Tabs. I want to hide app icon from action bar. I use the below code, but action bar is showing below Tabs. Both are not useful for me.

Any one help me!

 actionBar.setDisplayUseLogoEnabled(false);

and

 actionBar.setDisplayShowHomeEnabled(false);
Navnath Godse
  • 2,233
  • 2
  • 23
  • 32
user1670564
  • 391
  • 2
  • 4
  • 12

2 Answers2

8

actionBar.setDisplayUseLogoEnabled(false); should do it.

jaibatrik
  • 6,770
  • 9
  • 33
  • 62
4

add

actionBar.setDisplayShowTitleEnabled(false) 
Abhishek Chauhan
  • 1,984
  • 16
  • 16