RecyclerView inside DrawerLayout within LinearLayout not scrollable/clickable

前端 未结 1 1646
终归单人心
终归单人心 2020-12-02 00:58

I have adjusted my layout so that the Navigation Drawer appears underneath the toolbar:



        
相关标签:
1条回答
  • 2020-12-02 01:44

    Your RecyclerView needs to be listed last within the DrawerLayout to have the correct z-ordering. Currently, it is opening "under" the CoordinatorLayout, which is why you can't manipulate it by touch. Move it to after the CoordinatorLayout.

    0 讨论(0)
提交回复
热议问题