From f6718354547411f935dedf3ba6f10c641a9932c4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 18 Jul 2018 02:12:58 +0200 Subject: 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. --- app/src/main/res/layout/tunnel_list_fragment.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src') 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}" -- cgit v1.2.3