Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f02e0f0f authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

Fix hint text color to align with latest Material spec am: 6ae673ca

am: 8d6a07ad

Change-Id: Ic114d745d45daff938c18b80e8a290805ef1edf3
parents 73bf02be 8d6a07ad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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>
+4 −0
Original line number Diff line number Diff line
@@ -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>
+4 −1
Original line number Diff line number Diff line
@@ -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>