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);
actionBar.setDisplayUseLogoEnabled(false); should do it.
add
actionBar.setDisplayShowTitleEnabled(false)
来源:https://stackoverflow.com/questions/13626216/how-to-remove-application-icon-from-action-bar-in-android