diff options
author | Timi Rautamäki <timi.rautamaki@gmail.com> | 2021-07-11 13:38:50 +0200 |
---|---|---|
committer | Timi Rautamäki <timi.rautamaki@gmail.com> | 2021-07-12 07:44:17 +0200 |
commit | d50c89c7b632dac8fa533871e548d330c72b3a3d (patch) | |
tree | 3be75540477aa840b948c7c7ca9ab753f435de17 | |
parent | 17b92645e5c5a54957bb518748f7ae175a483094 (diff) |
Dialer: update ripple color
Ripple on dark should be lighter than background.
Change-Id: I01993eac93f29609353ef1e1e9b5dc9a211a640c
3 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml b/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml index 3533cf92c..9a181b2f0 100644 --- a/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml +++ b/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml @@ -27,6 +27,8 @@ <item name="actionBarWidgetTheme">@null</item> <item name="actionBarTheme">@style/DialerActionBarBaseTheme</item> <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item> + + <item name="colorControlHighlight">@color/dialer_ripple_color</item> </style> <style name="Dialer.ThemeBase.NoActionBar"> @@ -34,6 +36,7 @@ base style once none of our activities depend on ActionBar anymore. --> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> + <item name="colorControlHighlight">@color/dialer_ripple_color</item> </style> <!-- Activities and Applications should inherit from one of the themes above. --> diff --git a/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml b/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml index 369656f44..38a17c5ce 100644 --- a/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml +++ b/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml @@ -19,4 +19,5 @@ <color name="dialer_theme_color_20pct">#335195EA</color> <color name="dialer_theme_color_dark">#2374CE</color> <color name="dialer_secondary_color">#5195EA</color> + <color name="dialer_ripple_color">#33ffffff</color> </resources> diff --git a/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml b/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml index 988aad78f..e688ee149 100644 --- a/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml +++ b/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml @@ -20,4 +20,5 @@ <color name="dialer_theme_color_dark">#1C3AA9</color> <color name="dialer_secondary_color">#F50057</color> <color name="dialer_background_color">#FAFAFA</color> + <color name="dialer_ripple_color">#1f000000</color> </resources> |