summaryrefslogtreecommitdiffstats
path: root/packages
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
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')
-rw-r--r--packages/DocumentsUI/res/layout-sw720dp/activity.xml4
-rw-r--r--packages/DocumentsUI/res/layout/activity.xml2
-rw-r--r--packages/DocumentsUI/res/values/cm_colors.xml2
-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
-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
-rw-r--r--packages/SystemUI/res/layout/keyguard_bottom_area.xml4
-rw-r--r--packages/SystemUI/res/layout/keyguard_status_bar.xml6
-rw-r--r--packages/SystemUI/res/layout/lockscreen_shortcuts.xml2
-rw-r--r--packages/SystemUI/res/layout/mland.xml4
-rw-r--r--packages/SystemUI/res/layout/mland_scorefield.xml2
-rw-r--r--packages/SystemUI/res/layout/qs_panel.xml4
-rw-r--r--packages/SystemUI/res/layout/qs_tile_top2
-rw-r--r--packages/SystemUI/res/layout/recents_empty.xml8
-rw-r--r--packages/SystemUI/res/layout/recents_search_bar.xml4
-rw-r--r--packages/SystemUI/res/layout/recents_task_view_header.xml6
-rw-r--r--packages/SystemUI/res/layout/screen_pinning_request_text_area.xml6
-rw-r--r--packages/SystemUI/res/layout/status_bar.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_expanded.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_expanded_header.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_no_notifications.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_no_recent_apps.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_notification_speed_bump.xml4
-rw-r--r--packages/SystemUI/res/layout/status_bar_toggle_slider.xml4
-rw-r--r--packages/SystemUI/res/layout/zen_mode_panel.xml4
-rw-r--r--packages/SystemUI/res/values/cm_colors.xml24
-rw-r--r--packages/WallpaperCropper/res/layout/actionbar_set_wallpaper.xml4
-rw-r--r--packages/WallpaperCropper/res/values/cm_colors.xml20
33 files changed, 138 insertions, 56 deletions
diff --git a/packages/DocumentsUI/res/layout-sw720dp/activity.xml b/packages/DocumentsUI/res/layout-sw720dp/activity.xml
index 221de13..f72d3ab 100644
--- a/packages/DocumentsUI/res/layout-sw720dp/activity.xml
+++ b/packages/DocumentsUI/res/layout-sw720dp/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.
@@ -23,7 +23,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
- android:background="?android:attr/colorPrimary"
+ android:background="@color/toolbar_background_color"
android:elevation="8dp"
android:theme="?android:attr/actionBarTheme">
diff --git a/packages/DocumentsUI/res/layout/activity.xml b/packages/DocumentsUI/res/layout/activity.xml
index 3de76d0..b8557ee 100644
--- a/packages/DocumentsUI/res/layout/activity.xml
+++ b/packages/DocumentsUI/res/layout/activity.xml
@@ -28,7 +28,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
- android:background="?android:attr/colorPrimary"
+ android:background="@color/toolbar_background_color"
android:elevation="8dp"
android:theme="?android:attr/actionBarTheme">
diff --git a/packages/DocumentsUI/res/values/cm_colors.xml b/packages/DocumentsUI/res/values/cm_colors.xml
index 1fa1a80..abeb20c 100644
--- a/packages/DocumentsUI/res/values/cm_colors.xml
+++ b/packages/DocumentsUI/res/values/cm_colors.xml
@@ -19,5 +19,5 @@
<!-- adding new exposed theme components -->
<color name="drawer_background_color">#ffffffff</color>
<color name="font_color_doc_grid">#ffffffff</color>
-
+ <color name="toolbar_background_color">?android:attr/colorPrimary</color>
</resources>
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>
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>
diff --git a/packages/SystemUI/res/layout/keyguard_bottom_area.xml b/packages/SystemUI/res/layout/keyguard_bottom_area.xml
index 6c85a8f..b8c69d1 100644
--- a/packages/SystemUI/res/layout/keyguard_bottom_area.xml
+++ b/packages/SystemUI/res/layout/keyguard_bottom_area.xml
@@ -1,6 +1,6 @@
<?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.
@@ -32,7 +32,7 @@
android:layout_gravity="bottom|center_horizontal"
android:gravity="center_horizontal"
android:textStyle="italic"
- android:textColor="#ffffff"
+ android:textColor="@color/keyguard_indication_text_color"
android:textAppearance="?android:attr/textAppearanceSmall"
android:accessibilityLiveRegion="polite" />
diff --git a/packages/SystemUI/res/layout/keyguard_status_bar.xml b/packages/SystemUI/res/layout/keyguard_status_bar.xml
index 8d33742..a337e90 100644
--- a/packages/SystemUI/res/layout/keyguard_status_bar.xml
+++ b/packages/SystemUI/res/layout/keyguard_status_bar.xml
@@ -1,6 +1,6 @@
<?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.
@@ -58,7 +58,7 @@
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/header_battery_margin_keyguard"
android:paddingEnd="@dimen/battery_level_padding_end"
- android:textColor="#ffffff"
+ android:textColor="@color/status_bar_battery_level_text_color"
android:visibility="gone"
android:textSize="@dimen/battery_level_text_size"
android:importantForAccessibility="noHideDescendants"/>
@@ -73,7 +73,7 @@
android:gravity="center_vertical"
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="#ffffff"
+ android:textColor="@color/keyguard_carrier_text_color"
android:singleLine="true" />
</com.android.systemui.statusbar.phone.KeyguardStatusBarView>
diff --git a/packages/SystemUI/res/layout/lockscreen_shortcuts.xml b/packages/SystemUI/res/layout/lockscreen_shortcuts.xml
index 1c99d96..63a99a3 100644
--- a/packages/SystemUI/res/layout/lockscreen_shortcuts.xml
+++ b/packages/SystemUI/res/layout/lockscreen_shortcuts.xml
@@ -45,7 +45,7 @@
android:layout_height="@dimen/keyguard_affordance_height" />
<ImageView
android:id="@+id/middle_button"
- android:tint="#666666"
+ android:tint="@color/lockscreen_middle_button_tint_color"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
android:scaleType="center"
diff --git a/packages/SystemUI/res/layout/mland.xml b/packages/SystemUI/res/layout/mland.xml
index d1b6d00..5ec0f7f 100644
--- a/packages/SystemUI/res/layout/mland.xml
+++ b/packages/SystemUI/res/layout/mland.xml
@@ -48,7 +48,7 @@
android:layout_height="48dp"
android:scaleType="fitCenter"
android:layout_gravity="center"
- android:tint="#000000"
+ android:tint="@color/play_button_image_tint_color"
android:src="@drawable/play"
/>
<TextView
@@ -58,7 +58,7 @@
android:layout_gravity="center"
android:alpha="0"
android:textSize="40dp"
- android:textColor="#000000"
+ android:textColor="@color/play_button_text_color"
/>
</FrameLayout>
</FrameLayout>
diff --git a/packages/SystemUI/res/layout/mland_scorefield.xml b/packages/SystemUI/res/layout/mland_scorefield.xml
index 0ed72e4..31e4b4b 100644
--- a/packages/SystemUI/res/layout/mland_scorefield.xml
+++ b/packages/SystemUI/res/layout/mland_scorefield.xml
@@ -22,7 +22,7 @@
android:textStyle="bold"
android:textSize="22sp"
android:gravity="center"
- android:textColor="#FFAAAAAA"
+ android:textColor="@color/mland_scorefield_text_color"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:paddingTop="4dp"
diff --git a/packages/SystemUI/res/layout/qs_panel.xml b/packages/SystemUI/res/layout/qs_panel.xml
index 9df4425..c6a7d1c 100644
--- a/packages/SystemUI/res/layout/qs_panel.xml
+++ b/packages/SystemUI/res/layout/qs_panel.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.
@@ -24,7 +24,7 @@
<com.android.systemui.qs.QSDragPanel
android:id="@+id/quick_settings_panel"
- android:background="#0000"
+ android:background="@color/quick_settings_panel_background"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.android.systemui.qs.QSContainer>
diff --git a/packages/SystemUI/res/layout/qs_tile_top b/packages/SystemUI/res/layout/qs_tile_top
index 6d455ab..1b0bbd9 100644
--- a/packages/SystemUI/res/layout/qs_tile_top
+++ b/packages/SystemUI/res/layout/qs_tile_top
@@ -57,7 +57,7 @@
android:layout_height="match_parent"
android:gravity="center_vertical"
android:layout_weight="1"
- android:textColor="@android:color/white"
+ android:textColor="@color/qs_tile_edit_header_instruction_text_color"
android:text="@string/qs_tile_edit_header_instruction"
android:contentDescription="@null"/>
diff --git a/packages/SystemUI/res/layout/recents_empty.xml b/packages/SystemUI/res/layout/recents_empty.xml
index 4b68e77..3b7e886 100644
--- a/packages/SystemUI/res/layout/recents_empty.xml
+++ b/packages/SystemUI/res/layout/recents_empty.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.
@@ -21,8 +21,8 @@
android:layout_gravity="center"
android:gravity="center"
android:textSize="16sp"
- android:textColor="#ffffffff"
+ android:textColor="@color/recents_empty_message_text_color"
android:text="@string/recents_empty_message"
android:fontFamily="sans-serif"
- android:background="#80000000"
- android:visibility="gone" /> \ No newline at end of file
+ android:background="@color/recents_empty_background_color"
+ android:visibility="gone" />
diff --git a/packages/SystemUI/res/layout/recents_search_bar.xml b/packages/SystemUI/res/layout/recents_search_bar.xml
index 915283e..ad956f0 100644
--- a/packages/SystemUI/res/layout/recents_search_bar.xml
+++ b/packages/SystemUI/res/layout/recents_search_bar.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.
@@ -23,7 +23,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/recents_search_bar_label"
- android:textColor="#99ffffff"
+ android:textColor="@color/recents_search_bar_label_text_color"
android:textSize="18sp"
android:textAllCaps="true" />
</FrameLayout>
diff --git a/packages/SystemUI/res/layout/recents_task_view_header.xml b/packages/SystemUI/res/layout/recents_task_view_header.xml
index 477d9d7..f3f9c77 100644
--- a/packages/SystemUI/res/layout/recents_task_view_header.xml
+++ b/packages/SystemUI/res/layout/recents_task_view_header.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.
@@ -36,7 +36,7 @@
android:layout_marginStart="64dp"
android:layout_marginEnd="64dp"
android:textSize="16sp"
- android:textColor="#ffffffff"
+ android:textColor="@color/recents_empty_message_text_color"
android:text="@string/recents_empty_message"
android:fontFamily="sans-serif-medium"
android:singleLine="true"
@@ -63,4 +63,4 @@
android:background="@drawable/recents_button_bg"
android:visibility="invisible"
android:src="@drawable/recents_dismiss_light" />
-</com.android.systemui.recents.views.TaskViewHeader> \ No newline at end of file
+</com.android.systemui.recents.views.TaskViewHeader>
diff --git a/packages/SystemUI/res/layout/screen_pinning_request_text_area.xml b/packages/SystemUI/res/layout/screen_pinning_request_text_area.xml
index df957f4..8bf742a 100644
--- a/packages/SystemUI/res/layout/screen_pinning_request_text_area.xml
+++ b/packages/SystemUI/res/layout/screen_pinning_request_text_area.xml
@@ -1,7 +1,7 @@
<?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.
@@ -59,7 +59,7 @@
android:paddingEnd="8dp"
android:paddingStart="8dp"
android:text="@string/screen_pinning_positive"
- android:textColor="@android:color/white"
+ android:textColor="@color/screen_pinning_description_text_color"
android:textSize="14sp" />
<Button
@@ -74,7 +74,7 @@
android:paddingEnd="8dp"
android:paddingStart="8dp"
android:text="@string/screen_pinning_negative"
- android:textColor="@android:color/white"
+ android:textColor="@color/screen_pinning_cancel_button_text_color"
android:textSize="14sp" />
</RelativeLayout>
diff --git a/packages/SystemUI/res/layout/status_bar.xml b/packages/SystemUI/res/layout/status_bar.xml
index 291dc65..cfec230 100644
--- a/packages/SystemUI/res/layout/status_bar.xml
+++ b/packages/SystemUI/res/layout/status_bar.xml
@@ -2,7 +2,7 @@
<!--
/* apps/common/assets/default/default/skins/StatusBar.xml
**
-** Copyright 2006, 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.
@@ -100,7 +100,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/header_battery_margin_keyguard"
- android:textColor="#ffffff"
+ android:textColor="@color/status_bar_battery_level_text_color"
android:textSize="@dimen/battery_level_text_size" />
<com.android.systemui.statusbar.policy.Clock
diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml
index c4e3fcd..5cf5d18 100644
--- a/packages/SystemUI/res/layout/status_bar_expanded.xml
+++ b/packages/SystemUI/res/layout/status_bar_expanded.xml
@@ -2,7 +2,7 @@
<!--
/* apps/common/assets/default/default/skins/StatusBar.xml
**
-** Copyright 2006, 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.
@@ -39,7 +39,7 @@
android:singleLine="true"
android:visibility="invisible"
android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="#999999" />
+ android:textColor="@color/carrier_label_text_color" />
<include
layout="@layout/keyguard_status_view"
diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml
index 577ad55..be5c42a 100644
--- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml
+++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
-** Copyright 2012, 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.
@@ -229,7 +229,7 @@
android:fontFamily="sans-serif-condensed"
android:textSize="11dp"
android:textStyle="bold"
- android:textColor="#00A040"
+ android:textColor="@color/header_debug_info_text_color"
android:padding="2dp"
/>
diff --git a/packages/SystemUI/res/layout/status_bar_no_notifications.xml b/packages/SystemUI/res/layout/status_bar_no_notifications.xml
index dd501d4..8b86a9d 100644
--- a/packages/SystemUI/res/layout/status_bar_no_notifications.xml
+++ b/packages/SystemUI/res/layout/status_bar_no_notifications.xml
@@ -1,5 +1,5 @@
<!--
- ~ 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.
@@ -27,7 +27,7 @@
android:layout_height="64dp"
android:paddingTop="12dp"
android:gravity="top|center_horizontal"
- android:textColor="#ffffff"
+ android:textColor="no_notifications_text_color"
android:textSize="20sp"
android:text="@string/empty_shade_text"/>
</com.android.systemui.statusbar.EmptyShadeView>
diff --git a/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml b/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml
index 1675773..e9c806d 100644
--- a/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml
+++ b/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml
@@ -2,7 +2,7 @@
<!--
/* apps/common/assets/default/default/skins/StatusBar.xml
**
-** Copyright 2011, 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.
@@ -28,7 +28,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20dp"
- android:textColor="@android:color/holo_blue_light"
+ android:textColor="@color/no_recent_apps_text_color"
android:text="@string/status_bar_no_recent_apps"
android:gravity="center_horizontal"
android:layout_gravity="center"
diff --git a/packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml b/packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml
index f699fce..4891504 100644
--- a/packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml
+++ b/packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml
@@ -1,5 +1,5 @@
<!--
- ~ 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.
@@ -44,7 +44,7 @@
android:layout_gravity="center_vertical"
android:background="@drawable/keyguard_overflow_number_background"
android:gravity="center"
- android:textColor="#ff686868"
+ android:textColor="keyguard_overflow_number_text_color"
android:textStyle="bold"
android:textSize="14dp"
/>
diff --git a/packages/SystemUI/res/layout/status_bar_notification_speed_bump.xml b/packages/SystemUI/res/layout/status_bar_notification_speed_bump.xml
index e220a16..cb00dcc 100644
--- a/packages/SystemUI/res/layout/status_bar_notification_speed_bump.xml
+++ b/packages/SystemUI/res/layout/status_bar_notification_speed_bump.xml
@@ -1,5 +1,5 @@
<!--
- ~ 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.
@@ -25,6 +25,6 @@
android:id="@+id/speedbump_line"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="#6fdddddd"
+ android:background="@color/speedbump_line_divider"
android:layout_gravity="center_vertical"/>
</com.android.systemui.statusbar.SpeedBumpView>
diff --git a/packages/SystemUI/res/layout/status_bar_toggle_slider.xml b/packages/SystemUI/res/layout/status_bar_toggle_slider.xml
index 062e6cb..6657d6a 100644
--- a/packages/SystemUI/res/layout/status_bar_toggle_slider.xml
+++ b/packages/SystemUI/res/layout/status_bar_toggle_slider.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- * Copyright (C) 2010 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.
@@ -55,7 +55,7 @@
android:layout_centerVertical="true"
android:gravity="center"
android:paddingTop="26dp"
- android:textColor="#666666"
+ android:textColor="@color/toggle_slider_text_color"
android:textSize="12sp"
android:visibility="gone"
/>
diff --git a/packages/SystemUI/res/layout/zen_mode_panel.xml b/packages/SystemUI/res/layout/zen_mode_panel.xml
index 43ab4bb..eff4fe9 100644
--- a/packages/SystemUI/res/layout/zen_mode_panel.xml
+++ b/packages/SystemUI/res/layout/zen_mode_panel.xml
@@ -1,6 +1,6 @@
<?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.
@@ -53,7 +53,7 @@
android:contentDescription="@string/accessibility_desc_close"
android:scaleType="center"
android:src="@drawable/ic_close"
- android:tint="@android:color/white" />
+ android:tint="@color/zen_ic_close_tint_color" />
<TextView
android:id="@+id/zen_introduction_message"
diff --git a/packages/SystemUI/res/values/cm_colors.xml b/packages/SystemUI/res/values/cm_colors.xml
index abca9bb..408763c 100644
--- a/packages/SystemUI/res/values/cm_colors.xml
+++ b/packages/SystemUI/res/values/cm_colors.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 The CyanogenMod Project
+ 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.
@@ -67,4 +67,26 @@
<!-- SystemUI Tuner Icon Tint Color -->
<color name="tuner_icon_tint">#4dffffff</color>
+
+ <!-- More exposed hard coded colors -->
+ <color name="toggle_slider_text_color">#666666</color>
+ <color name="no_recent_apps_text_color">@android:color/holo_blue_light</color>
+ <color name="no_notifications_text_color">#ffffff</color>
+ <color name="keyguard_overflow_number_text_color">#ff686868</color>
+ <color name="carrier_label_text_color">#999999</color>
+ <color name="keyguard_carrier_text_color">#ffffff</color>
+ <color name="screen_pinning_description_text_color">@android:color/white</color>
+ <color name="screen_pinning_cancel_button_text_color">@android:color/white</color>
+ <color name="recents_empty_message_text_color">#ffffffff</color>
+ <color name="recents_search_bar_label_text_color">#99ffffff</color>
+ <color name="recents_empty_background_color">#80000000</color>
+ <color name="qs_tile_edit_header_instruction_text_color">@android:color/white</color>
+ <color name="mland_scorefield_text_color">#FFAAAAAA</color>
+ <color name="keyguard_indication_text_color">#ffffff</color>
+ <color name="speedbump_line_divider">#6fdddddd</color>
+ <color name="quick_settings_panel_background">#0000</color>
+ <color name="lockscreen_middle_button_tint_color">#666666</color>
+ <color name="play_button_image_tint_color">#000000</color>
+ <color name="zen_ic_close_tint_color">@android:color/white</color>
+ <color name="header_debug_info_text_color">#00A040</color>
</resources>
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>