Reputation: 41785
I want my activity looks like
- action bar, with custom view
- tabs created with NAVIGATION_MODE_TABS
- tab contents
but 1,2 are switched.(Tabs appear at the top of the screen, actionbar appears below of tabs)
How can I fix this?
Upvotes: 2
Views: 1109
Reputation: 41785
https://github.com/JakeWharton/ActionBarSherlock/issues/327
apparently this is a bug..
someone posted a fix
furyfred commented 5 days ago Hi. Just found a simple workaround.
use the following in your onCreate method :
View homeIcon = findViewById(android.R.id.home); ((View) homeIcon.getParent()).setVisibility(View.GONE);
this collapses the home button completely.
PS : i'm using standard ActionBar but this should work the same
Upvotes: 3