diff options
author | Jeremy Klein <jklein24@gmail.com> | 2015-09-23 14:48:12 -0700 |
---|---|---|
committer | Jeremy Klein <jklein24@gmail.com> | 2015-09-23 14:48:12 -0700 |
commit | c7dd4f78694c555530c641d659bd08cfab806bbd (patch) | |
tree | 6ff07418a3b1d0e93837ff2bcddfdbd5745ed68b | |
parent | d9e279cb7b994d9781d8f1d4195c0263822a3893 (diff) | |
parent | 86fd729359ab2c61dcb691361714cbd023d6c68e (diff) | |
download | connectbot-c7dd4f78694c555530c641d659bd08cfab806bbd.tar.gz connectbot-c7dd4f78694c555530c641d659bd08cfab806bbd.tar.bz2 connectbot-c7dd4f78694c555530c641d659bd08cfab806bbd.zip |
Merge pull request #246 from rhansby/awkward-fab-workaround
Add padding to bottom of HostList to prevent FAB covering list.
-rw-r--r-- | app/src/main/res/layout/act_hostlist.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/res/layout/act_hostlist.xml b/app/src/main/res/layout/act_hostlist.xml index 216fedf..24e4058 100644 --- a/app/src/main/res/layout/act_hostlist.xml +++ b/app/src/main/res/layout/act_hostlist.xml @@ -26,10 +26,14 @@ android:orientation="vertical" > + <!-- paddingBottom is calculated with FloatingActionButton's height (56dp) and + margins (16dp): 56dp + (2 x 16dp) = 88dp. --> <android.support.v7.widget.RecyclerView android:id="@+id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:paddingBottom="88dp" + android:clipToPadding="false" /> <TextView |