summaryrefslogtreecommitdiffstats
path: root/packages/WallpaperCropper
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/WallpaperCropper
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/WallpaperCropper')
-rw-r--r--packages/WallpaperCropper/res/layout/actionbar_set_wallpaper.xml4
-rw-r--r--packages/WallpaperCropper/res/values/cm_colors.xml20
2 files changed, 22 insertions, 2 deletions
diff --git a/packages/WallpaperCropper/res/layout/actionbar_set_wallpaper.xml b/packages/WallpaperCropper/res/layout/actionbar_set_wallpaper.xml
index 54f8ff3..bdd7e71 100644
--- a/packages/WallpaperCropper/res/layout/actionbar_set_wallpaper.xml
+++ b/packages/WallpaperCropper/res/layout/actionbar_set_wallpaper.xml
@@ -2,7 +2,7 @@
<!--
/*
**
-** Copyright 2013, The Android Open Source Project
+** Copyright 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.
@@ -32,5 +32,5 @@
android:drawablePadding="8dp"
android:gravity="center_vertical"
android:text="@string/wallpaper_instructions"
- android:textColor="@android:color/white" />
+ android:textColor="@color/set_wallpaper_text_color" />
</FrameLayout>
diff --git a/packages/WallpaperCropper/res/values/cm_colors.xml b/packages/WallpaperCropper/res/values/cm_colors.xml
new file mode 100644
index 0000000..bfb2994
--- /dev/null
+++ b/packages/WallpaperCropper/res/values/cm_colors.xml
@@ -0,0 +1,20 @@
+<?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="set_wallpaper_text_color">@android:color/white</color>
+</resources>