Why is my overflow dropdown menu on top of the actionbar?

后端 未结 4 2073
误落风尘
误落风尘 2020-12-01 19:23

\"dropdown

By default isn\'t it supposed to be under the actionbar? So what am I doi

4条回答
  •  一向
    一向 (楼主)
    2020-12-01 20:10

    This is default behaviour of AppCompat theme you are using. According to the Material Design guidelines, it is expected overflow menu to appear on top of it's anchor, the ActionBar.

    You can force it to show below the action bar if by setting to your theme overlapAnchor to false

       
    

提交回复
热议问题