[fenix] For https://github.com/mozilla-mobile/fenix/issues/8545: Fix unnecessary scroll in home screen

Changed the height of the recycler view inside the home fragment
to ‘wrap_content’ to avoid scrolling if the viewport is not filled
with elements.

Closes https://github.com/mozilla-mobile/fenix/issues/8545
pull/600/head
VaishnaviShri 3 years ago committed by Mugurell
parent ddb145b3cb
commit 4536a2a35e

@ -65,7 +65,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/sessionControlRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_marginBottom="48dp"

Loading…
Cancel
Save