Android Split Action Bar with Action Items on the top and bottom?

前端 未结 5 2259
滥情空心
滥情空心 2020-11-27 12:05

Is there a way to specify some action items to the top part of the Split Action Bar while the others go to the bottom? Or is it all or nothing, whereby all the action items

5条回答
  •  不知归路
    2020-11-27 12:39

    If this option is activated, Android has the option to split the action bar. Whether to split is decided by the system at runtime

    You can define that the action bar should be automatically split by the system if not enough space is available you can activate this via the android:uiOptions="SplitActionBarWhenNarrow" parameter in the declaration of your application activity in the AndroidManifest.xml file.

提交回复
热议问题