Selaa lähdekoodia

fab: add fab sized padding at bottom of recycler view

This way we can keep scrolling when there are exactly the right number
of items, so that the toggle switch becomes visible.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
master
Jason A. Donenfeld 6 vuotta sitten
vanhempi
commit
f315654d40
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +2
    -0
      app/src/main/res/layout/tunnel_list_fragment.xml

+ 2
- 0
app/src/main/res/layout/tunnel_list_fragment.xml Näytä tiedosto

@@ -30,6 +30,8 @@
android:id="@+id/tunnel_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/design_fab_size_normal"
android:clipToPadding="false"
android:choiceMode="multipleChoiceModal"
app:items="@{tunnels}"
app:layout="@{@layout/tunnel_list_item}"


Ladataan…
Peruuta
Tallenna