How to control ActionBar split programmatically?

后端 未结 5 682
陌清茗
陌清茗 2020-12-13 19:34

The android ActionBar may split into a top and bottom bars if activity\'s parameter \"uiOptions\" is set to \"splitActionBarWhenNarrow

5条回答
  •  旧时难觅i
    2020-12-13 20:10

    The AppCompat package now offers the Toolbar widget that allows you to put an actionbar anywhere you want in your layout and modify it like any other view..

    Please see the full documentation here and a guide here.

提交回复
热议问题