Navigation drawer below Actionbar

前端 未结 2 1409
你的背包
你的背包 2020-12-18 23:21

Right now I just started a project in Android Studio with the NavigationBar as preconfigured in the template. Apparently it puts the navigation drawer behind the actionbar.

2条回答
  •  太阳男子
    2020-12-19 00:01

    Apply this attribute to your root viewgroup android:layout_marginTop="?android:attr/actionBarSize". Hope this helps.

提交回复
热议问题