summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/res/res/layout-sw600dp/keyguard.xml4
-rw-r--r--core/res/res/layout-xlarge/activity_list.xml4
-rw-r--r--core/res/res/layout/alert_dialog_holo.xml6
-rw-r--r--core/res/res/layout/alert_dialog_micro.xml8
-rw-r--r--core/res/res/layout/app_permission_item_money.xml4
-rw-r--r--core/res/res/layout/browser_link_context_header.xml2
-rw-r--r--core/res/res/layout/character_picker_button.xml4
-rw-r--r--core/res/res/layout/choose_account_type.xml4
-rw-r--r--core/res/res/layout/dialog_custom_title_holo.xml4
-rw-r--r--core/res/res/layout/dialog_title_holo.xml4
-rw-r--r--core/res/res/layout/dialog_title_icons_holo.xml4
-rw-r--r--core/res/res/layout/keyguard.xml6
-rw-r--r--core/res/res/layout/media_controller.xml4
-rw-r--r--core/res/res/layout/notification_material_action_tombstone.xml4
-rw-r--r--core/res/res/layout/preference_category_material.xml4
-rw-r--r--core/res/res/layout/recent_apps_dialog.xml4
-rw-r--r--core/res/res/layout/recent_apps_icon.xml4
-rw-r--r--core/res/res/layout/remote_views_adapter_default_loading_view.xml6
-rw-r--r--core/res/res/layout/restrictions_pin_setup.xml4
-rw-r--r--core/res/res/layout/simple_dropdown_item_2line.xml4
-rw-r--r--core/res/res/layout/status_bar_latest_event_content.xml4
-rwxr-xr-xcore/res/res/layout/subscription_item_layout.xml6
-rw-r--r--core/res/res/layout/text_edit_action_popup_text.xml4
-rw-r--r--core/res/res/layout/text_edit_paste_window.xml4
-rw-r--r--core/res/res/layout/text_edit_side_paste_window.xml4
-rw-r--r--core/res/res/layout/typing_filter.xml6
-rw-r--r--core/res/res/layout/web_text_view_dropdown.xml6
-rw-r--r--core/res/res/values/cm_colors.xml31
-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
61 files changed, 230 insertions, 117 deletions
diff --git a/core/res/res/layout-sw600dp/keyguard.xml b/core/res/res/layout-sw600dp/keyguard.xml
index f8f482d..af0390d 100644
--- a/core/res/res/layout-sw600dp/keyguard.xml
+++ b/core/res/res/layout-sw600dp/keyguard.xml
@@ -26,13 +26,13 @@
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="#ff000000">
+ android:background="@color/keyguard_background_color">
<TextView
android:id="@+id/label"
android:textSize="16sp"
android:textStyle="bold"
- android:textColor="#FFFFFFFF"
+ android:textColor="@color/keyguard_label_text_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/keyguard_label_text" />
diff --git a/core/res/res/layout-xlarge/activity_list.xml b/core/res/res/layout-xlarge/activity_list.xml
index bf46af8..9e59915 100644
--- a/core/res/res/layout-xlarge/activity_list.xml
+++ b/core/res/res/layout-xlarge/activity_list.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2009 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 @@
<View android:id="@+id/titleDivider"
android:layout_width="match_parent"
android:layout_height="2dip"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/activity_list_divider_color" />
<!-- If the client uses a customTitle, it will be added here. -->
</LinearLayout>
diff --git a/core/res/res/layout/alert_dialog_holo.xml b/core/res/res/layout/alert_dialog_holo.xml
index 34cb21d..d4da2ed 100644
--- a/core/res/res/layout/alert_dialog_holo.xml
+++ b/core/res/res/layout/alert_dialog_holo.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
-** Copyright 2010, 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.
@@ -34,7 +34,7 @@
android:layout_width="match_parent"
android:layout_height="2dip"
android:visibility="gone"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<LinearLayout android:id="@+id/title_template"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -60,7 +60,7 @@
android:layout_width="match_parent"
android:layout_height="2dip"
android:visibility="gone"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<!-- If the client uses a customTitle, it will be added here. -->
</LinearLayout>
diff --git a/core/res/res/layout/alert_dialog_micro.xml b/core/res/res/layout/alert_dialog_micro.xml
index abdbd16..c380b25 100644
--- a/core/res/res/layout/alert_dialog_micro.xml
+++ b/core/res/res/layout/alert_dialog_micro.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.
@@ -20,7 +20,7 @@
android:id="@+id/parentPanel"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@android:color/white"
+ android:background="@color/alert_dialog_micro_background_color"
android:layout_gravity="center"
android:orientation="vertical">
@@ -32,7 +32,7 @@
android:layout_width="match_parent"
android:layout_height="2dip"
android:visibility="gone"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<LinearLayout android:id="@+id/title_template"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -58,7 +58,7 @@
android:layout_width="match_parent"
android:layout_height="2dip"
android:visibility="gone"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<!-- If the client uses a customTitle, it will be added here. -->
</LinearLayout>
diff --git a/core/res/res/layout/app_permission_item_money.xml b/core/res/res/layout/app_permission_item_money.xml
index 2056285..a507d01 100644
--- a/core/res/res/layout/app_permission_item_money.xml
+++ b/core/res/res/layout/app_permission_item_money.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
@@ -64,7 +64,7 @@
android:id="@+id/perm_money_label"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="16sp"
- android:textColor="@color/perms_costs_money"
+ android:textColor="@color/perms_costs_money_text_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toEndOf="@id/perm_money_icon"
diff --git a/core/res/res/layout/browser_link_context_header.xml b/core/res/res/layout/browser_link_context_header.xml
index fef01b3..8bb9a0c 100644
--- a/core/res/res/layout/browser_link_context_header.xml
+++ b/core/res/res/layout/browser_link_context_header.xml
@@ -17,7 +17,7 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/title"
android:textAppearance="?android:attr/textAppearanceLarge"
- android:textColor="@color/white"
+ android:textColor="@color/browser_link_header_text_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2"
diff --git a/core/res/res/layout/character_picker_button.xml b/core/res/res/layout/character_picker_button.xml
index b74e620..17da092 100644
--- a/core/res/res/layout/character_picker_button.xml
+++ b/core/res/res/layout/character_picker_button.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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,6 +21,6 @@
android:focusable="false"
android:textAppearance="?android:attr/textAppearanceLarge"
android:background="@drawable/btn_keyboard_key_trans"
- android:textColor="#FFFFFFFF"
+ android:textColor="@color/character_picker_button_text_color"
/>
diff --git a/core/res/res/layout/choose_account_type.xml b/core/res/res/layout/choose_account_type.xml
index 87d1dde..3f710b8 100644
--- a/core/res/res/layout/choose_account_type.xml
+++ b/core/res/res/layout/choose_account_type.xml
@@ -2,7 +2,7 @@
<!--
/* //device/apps/common/assets/res/layout/list_content.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.
@@ -24,7 +24,7 @@
<View android:layout_height="3dip"
android:layout_width="match_parent"
- android:background="#323232"/>
+ android:background="@color/choose_account_type_background_color"/>
<ListView android:id="@android:id/list"
android:layout_width="match_parent"
diff --git a/core/res/res/layout/dialog_custom_title_holo.xml b/core/res/res/layout/dialog_custom_title_holo.xml
index f8a2bf7..3994fc8 100644
--- a/core/res/res/layout/dialog_custom_title_holo.xml
+++ b/core/res/res/layout/dialog_custom_title_holo.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2011 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.
@@ -31,7 +31,7 @@ This is a custom layout for a dialog.
<View android:id="@+id/titleDivider"
android:layout_width="match_parent"
android:layout_height="2dip"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/core/res/res/layout/dialog_title_holo.xml b/core/res/res/layout/dialog_title_holo.xml
index 0a692ee..f722a1b 100644
--- a/core/res/res/layout/dialog_title_holo.xml
+++ b/core/res/res/layout/dialog_title_holo.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
-** 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.
@@ -33,7 +33,7 @@ enabled.
<View android:id="@+id/titleDivider"
android:layout_width="match_parent"
android:layout_height="2dip"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/core/res/res/layout/dialog_title_icons_holo.xml b/core/res/res/layout/dialog_title_icons_holo.xml
index e3d771c..2b26312 100644
--- a/core/res/res/layout/dialog_title_icons_holo.xml
+++ b/core/res/res/layout/dialog_title_icons_holo.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2011 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.
@@ -51,7 +51,7 @@ enabled.
<View android:id="@+id/titleDivider"
android:layout_width="match_parent"
android:layout_height="1dip"
- android:background="@android:color/holo_blue_light" />
+ android:background="@color/dialog_divider_color" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
diff --git a/core/res/res/layout/keyguard.xml b/core/res/res/layout/keyguard.xml
index f8f482d..7ba6029 100644
--- a/core/res/res/layout/keyguard.xml
+++ b/core/res/res/layout/keyguard.xml
@@ -2,7 +2,7 @@
<!--
/* //device/apps/common/res/layout/keyguard.xml
**
-** Copyright 2007, 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.
@@ -26,13 +26,13 @@
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="#ff000000">
+ android:background="@color/keyguard_background_color">
<TextView
android:id="@+id/label"
android:textSize="16sp"
android:textStyle="bold"
- android:textColor="#FFFFFFFF"
+ android:textColor="@color/keyguard_label_text_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/keyguard_label_text" />
diff --git a/core/res/res/layout/media_controller.xml b/core/res/res/layout/media_controller.xml
index 24c2866..c6507d3 100644
--- a/core/res/res/layout/media_controller.xml
+++ b/core/res/res/layout/media_controller.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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.
@@ -17,7 +17,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="#CC000000"
+ android:background="@color/media_controller_background_color"
android:orientation="vertical"
android:layoutDirection="ltr">
diff --git a/core/res/res/layout/notification_material_action_tombstone.xml b/core/res/res/layout/notification_material_action_tombstone.xml
index 976448b..44f15dc 100644
--- a/core/res/res/layout/notification_material_action_tombstone.xml
+++ b/core/res/res/layout/notification_material_action_tombstone.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.
@@ -24,7 +24,7 @@
android:gravity="start|center_vertical"
android:drawablePadding="8dp"
android:paddingStart="8dp"
- android:textColor="#555555"
+ android:textColor="@color/notification_action_tombstone_text_color"
android:textSize="@dimen/notification_text_size"
android:singleLine="true"
android:ellipsize="end"
diff --git a/core/res/res/layout/preference_category_material.xml b/core/res/res/layout/preference_category_material.xml
index 456b252..9f313eb 100644
--- a/core/res/res/layout/preference_category_material.xml
+++ b/core/res/res/layout/preference_category_material.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,7 +21,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="16dip"
android:textAppearance="@style/TextAppearance.Material.Body2"
- android:textColor="?android:attr/colorAccent"
+ android:textColor="@color/preference_category_text_color"
android:paddingStart="?attr/listPreferredItemPaddingStart"
android:paddingEnd="?attr/listPreferredItemPaddingEnd"
android:paddingTop="16dip" />
diff --git a/core/res/res/layout/recent_apps_dialog.xml b/core/res/res/layout/recent_apps_dialog.xml
index e3492f6..0e5bf6a 100644
--- a/core/res/res/layout/recent_apps_dialog.xml
+++ b/core/res/res/layout/recent_apps_dialog.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
-** Copyright 2008, 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,7 +32,7 @@
android:layout_height="40dip"
android:gravity="center"
android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="#80FFFFFF"
+ android:textColor="@color/recent_apps_dialog_text_color"
android:textStyle="bold"
android:singleLine="true"
android:text="@android:string/recent_tasks_title" />
diff --git a/core/res/res/layout/recent_apps_icon.xml b/core/res/res/layout/recent_apps_icon.xml
index f73aec3..74bb723 100644
--- a/core/res/res/layout/recent_apps_icon.xml
+++ b/core/res/res/layout/recent_apps_icon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
-** Copyright 2008, 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.
@@ -27,7 +27,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="3dip"
android:layout_marginBottom="3dip"
- android:textColor="@color/bright_foreground_dark"
+ android:textColor="@color/recent_apps_text_color"
android:paddingTop="5dip"
android:paddingBottom="2dip"
diff --git a/core/res/res/layout/remote_views_adapter_default_loading_view.xml b/core/res/res/layout/remote_views_adapter_default_loading_view.xml
index 864e435..7268e2c 100644
--- a/core/res/res/layout/remote_views_adapter_default_loading_view.xml
+++ b/core/res/res/layout/remote_views_adapter_default_loading_view.xml
@@ -1,5 +1,5 @@
<?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.
@@ -23,9 +23,9 @@
android:gravity="center_horizontal|center_vertical"
android:text="@string/loading"
- android:textColor="#60FFFFFF"
+ android:textColor="@color/loading_view_text_color"
android:textSize="18sp"
- android:shadowColor="#FF000000"
+ android:shadowColor="@color/loading_view_text_shadow_color"
android:shadowDx="0.0"
android:shadowDy="1.0"
android:shadowRadius="1.0" />
diff --git a/core/res/res/layout/restrictions_pin_setup.xml b/core/res/res/layout/restrictions_pin_setup.xml
index 03ed696..7478baf 100644
--- a/core/res/res/layout/restrictions_pin_setup.xml
+++ b/core/res/res/layout/restrictions_pin_setup.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.
@@ -70,7 +70,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/restr_pin_error_doesnt_match"
- android:textColor="#FFFF0000" />
+ android:textColor="@color/pin_error_message_text_color" />
</LinearLayout>
diff --git a/core/res/res/layout/simple_dropdown_item_2line.xml b/core/res/res/layout/simple_dropdown_item_2line.xml
index c7093b4..04f22fa 100644
--- a/core/res/res/layout/simple_dropdown_item_2line.xml
+++ b/core/res/res/layout/simple_dropdown_item_2line.xml
@@ -2,7 +2,7 @@
<!--
/* //device/apps/common/assets/res/any/layout/simple_spinner_item.xml
**
-** Copyright 2008, 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.
@@ -46,7 +46,7 @@
android:id="@android:id/text2"
style="?android:attr/dropDownItemStyle"
android:textAppearance="?android:attr/textAppearanceSmallPopupMenu"
- android:textColor="#323232"
+ android:textColor="@color/dropdown_item_2line_text_color"
android:singleLine="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/core/res/res/layout/status_bar_latest_event_content.xml b/core/res/res/layout/status_bar_latest_event_content.xml
index 9444164..d68bc68 100644
--- a/core/res/res/layout/status_bar_latest_event_content.xml
+++ b/core/res/res/layout/status_bar_latest_event_content.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
@@ -20,7 +20,7 @@
android:id="@+id/status_bar_latest_event_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="#FFFF00FF"
+ android:background="@color/status_bar_latest_event_content_bg_color"
>
<include layout="@layout/notification_template_material_base"
android:layout_width="match_parent"
diff --git a/core/res/res/layout/subscription_item_layout.xml b/core/res/res/layout/subscription_item_layout.xml
index aa835f4..cca0d98 100755
--- a/core/res/res/layout/subscription_item_layout.xml
+++ b/core/res/res/layout/subscription_item_layout.xml
@@ -2,7 +2,7 @@
<!--
/*
**
-** Copyright (C) 2014 MediaTek Inc.
+** Copyright (C) 2015 MediaTek Inc.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@
android:layout_alignParentBottom="true"
android:textSize="12sp"
android:singleLine="true"
- android:textColor="@android:color/white"
+ android:textColor="@color/subscription_item_short_number_color"
android:includeFontPadding="false"/>
</RelativeLayout>
<RelativeLayout
@@ -66,4 +66,4 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"/>
</RelativeLayout>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>
diff --git a/core/res/res/layout/text_edit_action_popup_text.xml b/core/res/res/layout/text_edit_action_popup_text.xml
index 16bf30e..1f288f1 100644
--- a/core/res/res/layout/text_edit_action_popup_text.xml
+++ b/core/res/res/layout/text_edit_action_popup_text.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2011 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:paddingBottom="8dip"
android:gravity="center"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
- android:textColor="@android:color/black"
+ android:textColor="@color/edit_action_popup_text_color"
android:textAllCaps="true"
android:textStyle="bold"
/>
diff --git a/core/res/res/layout/text_edit_paste_window.xml b/core/res/res/layout/text_edit_paste_window.xml
index 3b8dbf2..7b0c5f3 100644
--- a/core/res/res/layout/text_edit_paste_window.xml
+++ b/core/res/res/layout/text_edit_paste_window.xml
@@ -1,5 +1,5 @@
<?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.
@@ -28,7 +28,7 @@
android:drawablePadding="8dip"
android:gravity="center"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
- android:textColor="@android:color/black"
+ android:textColor="@color/edit_paste_window_text_color"
android:background="@android:drawable/text_edit_paste_window"
android:text="@android:string/paste"
android:layout_marginBottom="12dip"
diff --git a/core/res/res/layout/text_edit_side_paste_window.xml b/core/res/res/layout/text_edit_side_paste_window.xml
index c947a19..67e9dd6 100644
--- a/core/res/res/layout/text_edit_side_paste_window.xml
+++ b/core/res/res/layout/text_edit_side_paste_window.xml
@@ -1,5 +1,5 @@
<?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.
@@ -28,7 +28,7 @@
android:drawablePadding="8dip"
android:gravity="center"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
- android:textColor="@android:color/black"
+ android:textColor="@color/edit_side_paste_window_text_oolor"
android:background="@android:drawable/text_edit_side_paste_window"
android:text="@android:string/paste"
android:layout_marginBottom="12dip"
diff --git a/core/res/res/layout/typing_filter.xml b/core/res/res/layout/typing_filter.xml
index d8d0a40..af0d6e6 100644
--- a/core/res/res/layout/typing_filter.xml
+++ b/core/res/res/layout/typing_filter.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2006 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.
@@ -16,8 +16,8 @@
<EditText xmlns:android="http://schemas.android.com/apk/res/android"
android:textSize="36dp"
- android:textColor="#99FFFFFF"
- android:background="#BB000000"
+ android:textColor="@color/typing_filter_text_color"
+ android:background="@color/typing_filter_background_color"
android:minWidth="240dip"
android:maxWidth="240dip"
android:padding="10dip"
diff --git a/core/res/res/layout/web_text_view_dropdown.xml b/core/res/res/layout/web_text_view_dropdown.xml
index 1a6e9eb..e802794 100644
--- a/core/res/res/layout/web_text_view_dropdown.xml
+++ b/core/res/res/layout/web_text_view_dropdown.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
-Copyright 2010, 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.
@@ -19,8 +19,8 @@ limitations under the License.
android:id="@android:id/text1"
style="?android:attr/dropDownItemStyle"
android:textAppearance="?android:attr/textAppearanceSearchResultTitle"
- android:textColor="#ff000000"
- android:background="#ffffffff"
+ android:textColor="@color/web_view_dropdown_text_color"
+ android:background="@color/web_view_dropdown_background_color"
android:singleLine="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/core/res/res/values/cm_colors.xml b/core/res/res/values/cm_colors.xml
index 8e7e5c5..83b07d2 100644
--- a/core/res/res/values/cm_colors.xml
+++ b/core/res/res/values/cm_colors.xml
@@ -1,5 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <!-- Exposed Hard coded colors -->
+ <color name="edit_side_paste_window_text_oolor">@android:color/black</color>
+ <color name="edit_paste_window_text_color">@android:color/black</color>
+ <color name="edit_action_popup_text_color">@android:color/black</color>
+ <color name="subscription_item_short_number_color">@android:color/white</color>
+ <color name="dropdown_item_2line_text_color">#323232</color>
+ <color name="web_view_dropdown_text_color">#ff000000</color>
+ <color name="web_view_dropdown_background_color">#ffffffff</color>
+ <color name="pin_error_message_text_color">#FFFF0000</color>
+ <color name="preference_category_text_color">?android:attr/colorAccent</color>
+ <color name="perms_costs_money_text_color">@color/perms_costs_money</color>
+ <color name="recent_apps_text_color">@color/bright_foreground_dark</color>
+ <color name="recent_apps_dialog_text_color">#80FFFFFF</color>
+ <color name="loading_view_text_color">#60FFFFFF</color>
+ <color name="loading_view_text_shadow_color">#FF000000</color>
+ <color name="notification_action_tombstone_text_color">#555555</color>
+ <color name="browser_link_header_text_color">@color/white</color>
+ <color name="character_picker_button_text_color">#FFFFFFFF</color>
+ <color name="activity_list_divider_color">@android:color/holo_blue_light</color>
+ <color name="dialog_divider_color">@android:color/holo_blue_light</color>
+ <color name="keyguard_label_text_color">#FFFFFFFF</color>
+ <color name="keyguard_background_color">#FF000000</color>
+ <color name="typing_filter_text_color">#99FFFFFF</color>
+ <color name="typing_filter_background_color">#BB000000</color>
+ <color name="status_bar_latest_event_content_bg_color">#FFFF00FF</color>
+ <color name="media_controller_background_color">#CC000000</color>
+ <color name="choose_account_type_background_color">#323232</color>
+ <color name="alert_dialog_micro_background_color">@android:color/white</color>
+ <color name="lockscreen_middle_button_tint_color">#666666</color>
+ <color name="play_button_image_tint_color">#000000</color>
+ <color name="play_button_text_color">#000000</color>
<color name="immersive_cling_bg_color">#ff009688</color>
<color name="immersive_cling_text_color">@color/primary_text_default_material_light</color>
<color name="immersive_cling_button_text_color">@android:color/white</color>
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>