From 890e1892feac29b5bfe9b5f172a006e161e588d2 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Sun, 11 May 2014 23:45:37 +0200 Subject: Set primary color of SystemUI. Also fixes the weird color of the auto-brightness toggle. Change-Id: I7d8a2a47d630c3ca910983158fbf80ed739e0326 --- packages/SystemUI/res/drawable/notification_header_bg.xml | 4 ++-- packages/SystemUI/res/layout/status_bar_toggle_slider.xml | 1 + packages/SystemUI/res/values/colors.xml | 4 ++++ packages/SystemUI/res/values/styles.xml | 4 +++- 4 files changed, 10 insertions(+), 3 deletions(-) (limited to 'packages/SystemUI/res') diff --git a/packages/SystemUI/res/drawable/notification_header_bg.xml b/packages/SystemUI/res/drawable/notification_header_bg.xml index b6b2e9a..09d0d7d 100644 --- a/packages/SystemUI/res/drawable/notification_header_bg.xml +++ b/packages/SystemUI/res/drawable/notification_header_bg.xml @@ -18,13 +18,13 @@ - + - + diff --git a/packages/SystemUI/res/layout/status_bar_toggle_slider.xml b/packages/SystemUI/res/layout/status_bar_toggle_slider.xml index e6d7c93..0e84762 100644 --- a/packages/SystemUI/res/layout/status_bar_toggle_slider.xml +++ b/packages/SystemUI/res/layout/status_bar_toggle_slider.xml @@ -28,6 +28,7 @@ android:layout_alignParentTop="true" android:layout_alignParentBottom="true" android:button="@null" + android:background="@*android:drawable/switch_track_quantum" /> #ff333333 + + #ff7fcac3 + #ff384248 + #ff54656e diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index acf1f11..4f52870 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -168,7 +168,9 @@ 14dp -