Skip to content

Commit

Permalink
Dialer: update ripple color
Browse files Browse the repository at this point in the history
Ripple on dark should be lighter than background.

Change-Id: I01993eac93f29609353ef1e1e9b5dc9a211a640c
  • Loading branch information
trautamaki authored and alanndz committed Jun 11, 2022
1 parent 5e8593a commit c2bef1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@
<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">
<!-- Copied from Theme.AppCompat.Light.NoActionBar. We can remove this and update the Dialer
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. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit c2bef1d

Please sign in to comment.