commit | 92fae833f932370d50fa6e958143bc9f157ac851 | [log] [tgz] |
---|---|---|
author | Timi Rautamäki <timi.rautamaki@gmail.com> | Sun Jul 11 13:38:50 2021 +0200 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sun Oct 08 19:10:46 2023 +0300 |
tree | d2590e9b6a1eee9485fdeee3089da2b5ba39b355 | |
parent | 3bdfa15c10aea213f6c82dd245fae098d524db20 [diff] |
Dialer: update ripple color Ripple on dark should be lighter than background. Change-Id: I01993eac93f29609353ef1e1e9b5dc9a211a640c
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 3533cf9..9a181b2 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 369656f..38a17c5 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 988aad7..e688ee1 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>