diff options
| -rw-r--r-- | core/res/res/color/hint_foreground_material_dark.xml | 4 | ||||
| -rw-r--r-- | core/res/res/color/hint_foreground_material_light.xml | 4 | ||||
| -rw-r--r-- | core/res/res/values/colors_material.xml | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/core/res/res/color/hint_foreground_material_dark.xml b/core/res/res/color/hint_foreground_material_dark.xml index 77883d975c75..5cc955952524 100644 --- a/core/res/res/color/hint_foreground_material_dark.xml +++ b/core/res/res/color/hint_foreground_material_dark.xml @@ -15,6 +15,10 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_enabled="true" + android:state_pressed="true" + android:alpha="@dimen/hint_pressed_alpha_material_dark" + android:color="@color/foreground_material_dark" /> <item android:alpha="@dimen/hint_alpha_material_dark" android:color="@color/foreground_material_dark" /> </selector> diff --git a/core/res/res/color/hint_foreground_material_light.xml b/core/res/res/color/hint_foreground_material_light.xml index 99168fdc2962..f7465e0e5139 100644 --- a/core/res/res/color/hint_foreground_material_light.xml +++ b/core/res/res/color/hint_foreground_material_light.xml @@ -15,6 +15,10 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_enabled="true" + android:state_pressed="true" + android:alpha="@dimen/hint_pressed_alpha_material_light" + android:color="@color/foreground_material_light" /> <item android:alpha="@dimen/hint_alpha_material_light" android:color="@color/foreground_material_light" /> </selector> diff --git a/core/res/res/values/colors_material.xml b/core/res/res/values/colors_material.xml index a864cf384adb..92426c6a9bca 100644 --- a/core/res/res/values/colors_material.xml +++ b/core/res/res/values/colors_material.xml @@ -61,7 +61,10 @@ <color name="secondary_text_default_material_dark">#b3ffffff</color> <item name="hint_alpha_material_dark" format="float" type="dimen">0.50</item> - <item name="hint_alpha_material_light" format="float" type="dimen">0.54</item> + <item name="hint_alpha_material_light" format="float" type="dimen">0.38</item> + + <item name="hint_pressed_alpha_material_dark" format="float" type="dimen">0.70</item> + <item name="hint_pressed_alpha_material_light" format="float" type="dimen">0.54</item> <item name="disabled_alpha_material_light" format="float" type="dimen">0.26</item> <item name="disabled_alpha_material_dark" format="float" type="dimen">0.30</item> |