So I\'m having some trouble with a RecyclerView in a layout file
Here it is:
When RecyclerView is drawn, it calculates all the remaining size on screen to itself before drawing the next elements and don't recalculate after the other elements are drawn, leaving them outside the screen.
The trick is to draw all other elements first, and leave RecyclerView for last. FrameLayout does not work anymore so use a relative layout and put the RecyclerView last on the XML layout file.
Example to add a bar with buttons below the RecyclerView:
//HERE YOU ALIGN THIS ELEMENT TO THE BOTTOM OF THE PARENT
//HERE YOU ALIGN THE RECYCLERVIEW ABOVE THE PAGINATION BAR