Fixed navigation header in navigation drawer while scrolling through items

前端 未结 5 1644
傲寒
傲寒 2021-01-15 14:37

CURRENT STATE: NavigationDrawer with a NavigationHeader and NavigationMenu items. The items are large in number so scrolling is required in order to access

5条回答
  •  借酒劲吻你
    2021-01-15 15:18

    1. Remove orientation from RelativeLayout. It doesn't support it
    2. Set android:gravity="bottom" for parent RelativeLayout of header view.

    My mistake, It will still scroll. You need to have custom recycler view for your navigation menu. So it scrolls in it's own container

提交回复
热议问题