diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-18 02:12:58 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-18 02:15:14 +0200 |
commit | f315654d404959bee2b15744d870a6bdf2fd0472 (patch) | |
tree | ff282dbf462144c95d65de5d854b17c838c7aa69 | |
parent | fdfab18d45e6e58b37a5fafd2c37e3a78c2f3f12 (diff) |
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>
-rw-r--r-- | app/src/main/res/layout/tunnel_list_fragment.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml index 5dd091f8..96b13b37 100644 --- a/app/src/main/res/layout/tunnel_list_fragment.xml +++ b/app/src/main/res/layout/tunnel_list_fragment.xml @@ -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}" |