How to remove Application icon from Action Bar in Android?

android, android-actionbar

Solution

`actionBar.setDisplayUseLogoEnabled(false);` should do it.

Problem

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); ```

Original source

Related problems