diff options
author | Ryan Hansberry <rhansby@gmail.com> | 2015-09-23 14:21:35 -0700 |
---|---|---|
committer | Ryan Hansberry <rhansby@gmail.com> | 2015-09-23 14:31:21 -0700 |
commit | 86fd729359ab2c61dcb691361714cbd023d6c68e (patch) | |
tree | 6ff07418a3b1d0e93837ff2bcddfdbd5745ed68b /app/src/main/res | |
parent | d9e279cb7b994d9781d8f1d4195c0263822a3893 (diff) | |
download | connectbot-86fd729359ab2c61dcb691361714cbd023d6c68e.tar.gz connectbot-86fd729359ab2c61dcb691361714cbd023d6c68e.tar.bz2 connectbot-86fd729359ab2c61dcb691361714cbd023d6c68e.zip |
Add padding to bottom of HostList to prevent FAB covering list.
Diffstat (limited to 'app/src/main/res')
-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 |