OSDN Git Service

Adjust ripple opacity again
authorJohn Reck <jreck@google.com>
Wed, 7 Feb 2018 23:49:44 +0000 (15:49 -0800)
committerJohn Reck <jreck@google.com>
Thu, 8 Feb 2018 21:00:14 +0000 (13:00 -0800)
Set the opacity both closer to O's values as well
as the same as each other so if a drawable ever switches
between states (as checkbox does between light & colored)
it won't flicker oddly.

Bug: 72173993
Test: API demos controls for light & dark themes
Change-Id: I6103ea893fd1bc64708ddad611a2164db7905304

core/res/res/values/colors_material.xml

index ce4ac61..e80f16c 100644 (file)
@@ -79,8 +79,8 @@
     <item name="secondary_content_alpha_material_light" format="float" type="dimen">0.54</item>
 
     <item name="highlight_alpha_material_light" format="float" type="dimen">0.16</item>
-    <item name="highlight_alpha_material_dark" format="float" type="dimen">0.32</item>
-    <item name="highlight_alpha_material_colored" format="float" type="dimen">0.48</item>
+    <item name="highlight_alpha_material_dark" format="float" type="dimen">0.16</item>
+    <item name="highlight_alpha_material_colored" format="float" type="dimen">0.16</item>
 
     <!-- Primary & accent colors -->
     <eat-comment />