diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-18 12:49:35 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-18 12:56:04 -0700 |
commit | 6ebcc3651451627c72ce5308eec9c7734d1e802e (patch) | |
tree | 4113e6e572423dcf650157b72bf87acc17b69b79 /res | |
parent | e5c75ab44b70362fac1bab2442612dc9f60dd513 (diff) | |
download | packages_apps_Settings-6ebcc3651451627c72ce5308eec9c7734d1e802e.zip packages_apps_Settings-6ebcc3651451627c72ce5308eec9c7734d1e802e.tar.gz packages_apps_Settings-6ebcc3651451627c72ce5308eec9c7734d1e802e.tar.bz2 |
Update more colors in Data Usage Summary
- use colors from the Settings Theme
- code cleaning for use the Theme accent color constant
instead of raw color value
Change-Id: I04ec913f0b8048b6e50069213e9d92992168fe18
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/data_usage_chart.xml | 2 | ||||
-rw-r--r-- | res/layout/data_usage_detail.xml | 4 | ||||
-rw-r--r-- | res/values/colors.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/data_usage_chart.xml b/res/layout/data_usage_chart.xml index cec2af2..76cfc6d 100644 --- a/res/layout/data_usage_chart.xml +++ b/res/layout/data_usage_chart.xml @@ -54,7 +54,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="start|bottom" - settings:strokeColor="#d88d3a" + settings:strokeColor="@color/theme_accent" settings:fillColor="#c0ba7f3e" settings:fillColorSecondary="#60ba7f3e" /> diff --git a/res/layout/data_usage_detail.xml b/res/layout/data_usage_detail.xml index 6826764..3bca030 100644 --- a/res/layout/data_usage_detail.xml +++ b/res/layout/data_usage_detail.xml @@ -55,7 +55,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dip" - android:textColor="#d88d3a" + android:textColor="@color/theme_accent" android:text="@string/data_usage_label_foreground" android:textAlignment="viewStart" /> @@ -63,7 +63,7 @@ android:id="@+id/app_foreground" android:layout_width="match_parent" android:layout_height="wrap_content" - android:textColor="#d88d3a" + android:textColor="@color/theme_accent" android:textAlignment="viewStart" /> <TextView diff --git a/res/values/colors.xml b/res/values/colors.xml index e32d218..f46a800 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -46,7 +46,7 @@ <color name="lock_pattern_background">#00000000</color> <color name="lock_pattern_view_regular_color">#ff37474f</color> - <color name="lock_pattern_view_success_color">#ff009688</color> + <color name="lock_pattern_view_success_color">@color/theme_accent</color> <color name="lock_pattern_view_error_color">#fff4511e</color> <!-- Palette colors referenced by top-level themes. --> diff --git a/res/values/styles.xml b/res/values/styles.xml index 26b0ef3..f143ebc 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -265,7 +265,7 @@ </style> <style name="TextAppearance.CategoryTitle" parent="@android:style/TextAppearance.Material.Small"> - <item name="android:textColor">#FF009688</item> + <item name="android:textColor">@color/theme_accent</item> </style> <style name="TextAppearance.TileTitle" parent="@android:style/TextAppearance.Material.Medium"> |