summaryrefslogtreecommitdiffstats
path: root/res/layout/preference_list_fragment.xml
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-04-15 21:15:55 -0400
committerJohn Spurlock <jspurlock@google.com>2015-04-16 05:50:46 -0400
commitb8e02b8bd003fdcd5e680c7a6b37e1797ec12cc9 (patch)
treef3ab81383819b844bfc75a5862875f82234e5387 /res/layout/preference_list_fragment.xml
parent4e53ac6dc8325fa719d200533639645e67aa322b (diff)
downloadpackages_apps_Settings-b8e02b8bd003fdcd5e680c7a6b37e1797ec12cc9.zip
packages_apps_Settings-b8e02b8bd003fdcd5e680c7a6b37e1797ec12cc9.tar.gz
packages_apps_Settings-b8e02b8bd003fdcd5e680c7a6b37e1797ec12cc9.tar.bz2
Settings: Fabulous "Add rule" button.
Bug: 20064962 Change-Id: If7ff9d6cdfc61e5dd9e0d3bc4e2228c5fdaf9fa9
Diffstat (limited to 'res/layout/preference_list_fragment.xml')
-rw-r--r--res/layout/preference_list_fragment.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/layout/preference_list_fragment.xml b/res/layout/preference_list_fragment.xml
index 195f6eb..1412381 100644
--- a/res/layout/preference_list_fragment.xml
+++ b/res/layout/preference_list_fragment.xml
@@ -49,6 +49,18 @@
<include layout="@layout/loading_container" />
+ <com.android.settings.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:visibility="gone"
+ android:clickable="true"
+ android:layout_width="@dimen/fab_size"
+ android:layout_height="@dimen/fab_size"
+ android:layout_gravity="bottom|end"
+ android:layout_marginEnd="@dimen/fab_margin"
+ android:layout_marginBottom="@dimen/fab_margin"
+ android:elevation="@dimen/fab_elevation"
+ android:background="@drawable/fab_background" />
+
</FrameLayout>
<TextView android:id="@android:id/empty"