In my xml layout, I have:
a recycler view (height variable)
a bottom button (56dp = H1)
Behavior expected:
if recycler view height < (screen size - H1) -> button is fully showed at the bottom of the screen.
if recycler view height > (screen size - H1) -> button is below and scrollable with recycler view.
I can do it programmatically.
Can we do it just using layout file?
Thanks.