How to change the position of menu items on actionbar

后端 未结 4 1130
无人共我
无人共我 2021-02-07 14:51

I\'m developing one application in which I have to add a custom layout on actionbar. Adding the custom layout is done, but when I\'m adding the menu items on actionbar my custom

4条回答
  •  终归单人心
    2021-02-07 15:22

    The order of the menu items will be set according to their order in the XML file that they are inflated.

    Therefore all you need to do is change the order in the XML file as you like.

提交回复
热议问题