When the ActionBar is splitted (using android:uiOptions="splitActionBarWhenNarrow"
), all menu items automatically go to the bottom bar but custom view can still be put in the top.
View customNav = LayoutInflater.from(this).inflate(R.layout.custom_view, null);
getActionBar().setCustomView(customView);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…