Split action bar with AppCompat v7 using material design?

Is it possible that the Application Bit ActionBar is broken when targeting API 21?

Now I had all kinds of activities

 android:uiOptions="splitActionBarWhenNarrow"

      

and have metadata:

 <meta-data android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />

      

And my Base theme is Theme.AppCompat

but for some reason it has absolutely no effect on the split of the action bar.

+3


source to share


1 answer


There is no split action support in Story Themes or AppCompat v21. You can create your bottom action bar using the Toolbar added to your layout, but you need to manage the combination of controls in> 600dp configs yourself.



+5


source







All Articles