How to Place ActionBar Items in Main ActionBar and Bottom Bar

前端 未结 5 1428
谎友^
谎友^ 2020-12-08 05:17

\"enter

The Google+ app has a layout where it has action bar items in the main action

5条回答
  •  情话喂你
    2020-12-08 05:58

    I don't think it is possible using the standard ActionBar. When enabling a split ActionBar, ALL actions will appear at the bottom on a narrow screen.

    The bottom bar in the Google+ app's "create a post" Activity seems to be a custom implementation. Notice the long press to reveal an action's label does not work, and the bottom bar remains even when you switch to landscape orientation. The location item is a toggle switch which is also non-standard ActionBar behavior.

提交回复
热议问题