2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[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
This commit is contained in:
VaishnaviShri 2021-04-03 15:19:06 +05:30 committed by Mugurell
parent ddb145b3cb
commit 4536a2a35e

View File

@ -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"