summaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-18 02:12:58 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-18 02:15:14 +0200
commitf6718354547411f935dedf3ba6f10c641a9932c4 (patch)
treeff282dbf462144c95d65de5d854b17c838c7aa69 /app/src
parentde951ee5350552ebbb88db05457020f62037cdaa (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.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/tunnel_list_fragment.xml2
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}"