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.
You could use the LinearLayout, that seems not be the problem.
I'm pretty sure your solution will be fixed by moving the RecyclerView under the FAB button.
In other words, in the XML layout, move the FAB button block of code, over the RecyclerView block of code.
An example:
Order matters due to the way android system draws it's views.
You might see other artifacts but the FAB button should at least be visible now.