I want to create a footer-like button under the recyclerview. But the footer appears under the last element of recyclerview. I want my button to appear as an item at the bottom when it is a short list, and as a view at the bottom of the recyclerview in a long list. I explained the situation visually at image below
How can I do this, does it have a known name or do I need to use floating action buttons, etc?