summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-12-10 17:32:19 -0800
committerClark Scheff <clark@cyngn.com>2015-12-20 14:19:24 -0800
commit093bdf9a3ed095763c0116dcd077b1061ede09e4 (patch)
treebc505ba2de970c7417304d04001630076d7030a1 /packages/SystemUI/res
parent86595f912d8593a9581a8bd99f1849b8e4505de3 (diff)
downloadframeworks_base-093bdf9a3ed095763c0116dcd077b1061ede09e4.zip
frameworks_base-093bdf9a3ed095763c0116dcd077b1061ede09e4.tar.gz
frameworks_base-093bdf9a3ed095763c0116dcd077b1061ede09e4.tar.bz2
Keyguard: Support for external keyguard views
Change-Id: I3a8cdcc39f24824c2264304e9f5c7ea2c6a5f10d
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r--packages/SystemUI/res/layout/unlock_fab.xml8
-rw-r--r--packages/SystemUI/res/values/cm_dimens.xml4
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/unlock_fab.xml b/packages/SystemUI/res/layout/unlock_fab.xml
new file mode 100644
index 0000000..c80bc19
--- /dev/null
+++ b/packages/SystemUI/res/layout/unlock_fab.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/show_bouncer"
+ android:layout_width="@dimen/unlock_fab_size"
+ android:layout_height="@dimen/unlock_fab_size"
+ android:layout_gravity="bottom|center_horizontal"
+ android:alpha="0.5"
+ android:src="@drawable/ic_lock_open_24dp" />
diff --git a/packages/SystemUI/res/values/cm_dimens.xml b/packages/SystemUI/res/values/cm_dimens.xml
index aade9f0..73608b7 100644
--- a/packages/SystemUI/res/values/cm_dimens.xml
+++ b/packages/SystemUI/res/values/cm_dimens.xml
@@ -49,4 +49,8 @@
<dimen name="qs_detail_item_height_twoline">72dp</dimen>
<dimen name="detail_exterior_padding">8dp</dimen>
+
+ <!-- Size of unlock FAB used when showing external keyguard views -->
+ <dimen name="unlock_fab_size">48dp</dimen>
+
</resources>