summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/res
diff options
context:
space:
mode:
authorBryan Owens <djbryan3540@gmail.com>2015-12-02 15:51:46 -0600
committerSteve Kondik <shade@chemlab.org>2015-12-04 19:31:35 -0800
commite6458a3380b36ab0e3538159e854b7f815a838f3 (patch)
tree8f145f5e0cda1021f6b744836db8f7bc66cd4faf /packages/Keyguard/res
parent1356ccdfdb5786ba678ed54b4fab36a6949c5fe4 (diff)
downloadframeworks_base-e6458a3380b36ab0e3538159e854b7f815a838f3.zip
frameworks_base-e6458a3380b36ab0e3538159e854b7f815a838f3.tar.gz
frameworks_base-e6458a3380b36ab0e3538159e854b7f815a838f3.tar.bz2
Themes: Expose "ALL" layouts hard code in frameworks base for themes
Exposing all the hard coded layout colors in the enitre base so themes can have access. Change-Id: I4bc88573d0d7e41fc80d1580ab4e012f48c442d3 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Diffstat (limited to 'packages/Keyguard/res')
-rw-r--r--packages/Keyguard/res/layout/keyguard_pin_view.xml2
-rw-r--r--packages/Keyguard/res/layout/keyguard_sim_pin_view.xml2
-rw-r--r--packages/Keyguard/res/layout/keyguard_sim_puk_view.xml2
-rw-r--r--packages/Keyguard/res/values/cm_colors.xml19
4 files changed, 22 insertions, 3 deletions
diff --git a/packages/Keyguard/res/layout/keyguard_pin_view.xml b/packages/Keyguard/res/layout/keyguard_pin_view.xml
index d3fb982..b0a86bb 100644
--- a/packages/Keyguard/res/layout/keyguard_pin_view.xml
+++ b/packages/Keyguard/res/layout/keyguard_pin_view.xml
@@ -78,7 +78,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
- android:background="#28FFFFFF"
+ android:background="@color/keyguard_sim_view_divider"
/>
</com.android.keyguard.AlphaOptimizedRelativeLayout>
<LinearLayout
diff --git a/packages/Keyguard/res/layout/keyguard_sim_pin_view.xml b/packages/Keyguard/res/layout/keyguard_sim_pin_view.xml
index b0a93e6..fe514a6 100644
--- a/packages/Keyguard/res/layout/keyguard_sim_pin_view.xml
+++ b/packages/Keyguard/res/layout/keyguard_sim_pin_view.xml
@@ -83,7 +83,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
- android:background="#28FFFFFF"
+ android:background="@color/keyguard_sim_view_divider"
/>
</RelativeLayout>
<LinearLayout
diff --git a/packages/Keyguard/res/layout/keyguard_sim_puk_view.xml b/packages/Keyguard/res/layout/keyguard_sim_puk_view.xml
index cf41bd3..30cc815 100644
--- a/packages/Keyguard/res/layout/keyguard_sim_puk_view.xml
+++ b/packages/Keyguard/res/layout/keyguard_sim_puk_view.xml
@@ -84,7 +84,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
- android:background="#28FFFFFF"
+ android:background="@color/keyguard_sim_view_divider"
/>
</RelativeLayout>
<LinearLayout
diff --git a/packages/Keyguard/res/values/cm_colors.xml b/packages/Keyguard/res/values/cm_colors.xml
new file mode 100644
index 0000000..ffdc532
--- /dev/null
+++ b/packages/Keyguard/res/values/cm_colors.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+
+ <color name="keyguard_sim_view_divider">#28FFFFFF</color>
+</resources>