summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-02-21 17:42:56 -0800
committerFabrice Di Meglio <fdimeglio@google.com>2014-02-24 13:03:32 -0800
commitdca2806a23d202384eb9b37a5026325f8fb08476 (patch)
treef28f8bf3a861ff4ba4cd254a58608483c18bb6bb /res
parent351adbf35c9d9674fbb98192425843e1ca58e8c1 (diff)
downloadpackages_apps_Settings-dca2806a23d202384eb9b37a5026325f8fb08476.tar.gz
packages_apps_Settings-dca2806a23d202384eb9b37a5026325f8fb08476.tar.bz2
packages_apps_Settings-dca2806a23d202384eb9b37a5026325f8fb08476.zip
Implement Holo Light Theme for Settings
... and use Holo (Dark) Theme for the Drawer as requested by UX Also remove the Wi-Fi and Bluetooth switches in the Drawer per following UX specification. Change-Id: I4fc17481255b5db337a887033bc831ded0d2d701
Diffstat (limited to 'res')
-rw-r--r--res/layout/settings_main.xml2
-rw-r--r--res/values/colors.xml2
-rw-r--r--res/values/themes.xml3
3 files changed, 4 insertions, 3 deletions
diff --git a/res/layout/settings_main.xml b/res/layout/settings_main.xml
index f34ece82e..8b98794ab 100644
--- a/res/layout/settings_main.xml
+++ b/res/layout/settings_main.xml
@@ -76,6 +76,6 @@
android:layout_width="300dp"
android:layout_height="match_parent"
android:layout_gravity="start"
- android:background="#ff333333"/>
+ android:background="@color/background_drawer"/>
</android.support.v4.widget.DrawerLayout>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 40098f5dc..206dbacb3 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -15,6 +15,8 @@
-->
<resources>
+ <color name="background_drawer">#ff777777</color>
+
<color name="black">#000</color>
<color name="red">#F00</color>
diff --git a/res/values/themes.xml b/res/values/themes.xml
index a87ad33fe..20cb3b47e 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -59,7 +59,7 @@
<item name="wifi_signal">@drawable/wifi_signal_light</item>
</style>
- <style name="Theme.Settings" parent="@android:style/Theme.Holo">
+ <style name="Theme.Settings" parent="@android:style/Theme.Holo.Light">
<item name="@*android:preferenceHeaderPanelStyle">@style/PreferenceHeaderPanelSinglePane</item>
<item name="@*android:preferencePanelStyle">@style/PreferencePanelSinglePane</item>
<item name="@*android:preferenceListStyle">@style/PreferenceHeaderListSinglePane</item>
@@ -70,6 +70,5 @@
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_holo_dark</item>
<item name="ic_wps">@drawable/ic_wps_dark</item>
<item name="wifi_signal">@drawable/wifi_signal_dark</item>
- <item name="android:actionBarStyle">@android:style/Widget.Holo.ActionBar.Solid</item>
</style>
</resources>