From f315654d404959bee2b15744d870a6bdf2fd0472 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. Signed-off-by: Jason A. Donenfeld --- 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