Commit c9ca84f1 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Account activity: make space for FAB at end of collection list

parent 53698add
Pipeline #107276975 passed with stages
in 8 minutes and 29 seconds
......@@ -19,11 +19,14 @@
android:visibility="invisible"
style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
<!-- paddingBottom and clipToPadding are needed to make space for the FAB at the end -->
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
android:layout_weight="1"
android:paddingBottom="@dimen/fab_bottom_padding"
android:clipToPadding="false" />
<LinearLayout
android:id="@+id/empty"
......
......@@ -12,6 +12,9 @@
<dimen name="fab_margin">16dp</dimen>
<!-- space that lists should reserve for the FAB -->
<dimen name="fab_bottom_padding">64dp</dimen>
<dimen name="nav_header_vertical_spacing">16dp</dimen>
</resources>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment