Floating action button not displaying over recyclerview(which is inside a DrawerLayout)

前端 未结 5 1375
[愿得一人]
[愿得一人] 2021-02-19 00:30

I am trying to get FAB over recyclerview which in my case will cover the whole screen. The FAB wont display even recyclerview is empty. Following is my xml code.



        
5条回答
  •  日久生厌
    2021-02-19 01:12

    Try using FrameLayout instead of LinearLayout as your root layout. That worked for me.

提交回复
热议问题