summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler
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/PrintSpooler
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/PrintSpooler')
-rw-r--r--packages/PrintSpooler/res/layout/print_activity.xml4
-rw-r--r--packages/PrintSpooler/res/layout/print_activity_controls.xml4
-rw-r--r--packages/PrintSpooler/res/values/cm_colors.xml21
3 files changed, 25 insertions, 4 deletions
diff --git a/packages/PrintSpooler/res/layout/print_activity.xml b/packages/PrintSpooler/res/layout/print_activity.xml
index 6b8aa47..b7cde15 100644
--- a/packages/PrintSpooler/res/layout/print_activity.xml
+++ b/packages/PrintSpooler/res/layout/print_activity.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2013 The Android Open Source Project
+<!-- 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.
@@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:paddingStart="8dip"
android:elevation="@dimen/preview_controls_elevation"
- android:background="?android:attr/colorPrimary">
+ android:background="@color/static_content_background">
<Spinner
android:id="@+id/destination_spinner"
diff --git a/packages/PrintSpooler/res/layout/print_activity_controls.xml b/packages/PrintSpooler/res/layout/print_activity_controls.xml
index a87afe0..6db025a 100644
--- a/packages/PrintSpooler/res/layout/print_activity_controls.xml
+++ b/packages/PrintSpooler/res/layout/print_activity_controls.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 The Android Open Source Project
+<!-- 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.
@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:elevation="@dimen/preview_controls_elevation"
- android:background="?android:attr/colorPrimary">
+ android:background="@color/dynamic_content_background">
<LinearLayout
android:id="@+id/draggable_content"
diff --git a/packages/PrintSpooler/res/values/cm_colors.xml b/packages/PrintSpooler/res/values/cm_colors.xml
new file mode 100644
index 0000000..fbc05de
--- /dev/null
+++ b/packages/PrintSpooler/res/values/cm_colors.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 The CyanogenMod 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="dynamic_content_background">?android:attr/colorPrimary</color>
+ <color name="static_content_background">?android:attr/colorPrimary</color>
+</resources>