Skip to content

Commit 47ab850

Browse files
ymarianhunterstich
authored andcommitted
[ExtendedFloatingActionButton] Fixed ripple issue
Resolves #1359 PiperOrigin-RevId: 319038380 (cherry picked from commit 61e927e)
1 parent b1dfadb commit 47ab850

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/java/com/google/android/material/floatingactionbutton/res/color/mtrl_fab_ripple_color.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
<selector xmlns:android="http://schemas.android.com/apk/res/android">
1919

20-
<item android:alpha="0.32" android:color="?attr/colorOnSecondary" android:state_pressed="true"/>
21-
<item android:alpha="0.24" android:color="?attr/colorOnSecondary" android:state_focused="true" android:state_hovered="true"/>
22-
<item android:alpha="0.24" android:color="?attr/colorOnSecondary" android:state_focused="true"/>
23-
<item android:alpha="0.08" android:color="?attr/colorOnSecondary" android:state_hovered="true"/>
24-
<item android:alpha="0.00" android:color="?attr/colorOnSecondary"/>
20+
<item android:alpha="@dimen/mtrl_high_ripple_pressed_alpha" android:color="?attr/colorOnSecondary" android:state_pressed="true"/>
21+
<item android:alpha="@dimen/mtrl_high_ripple_focused_alpha" android:color="?attr/colorOnSecondary" android:state_focused="true" android:state_hovered="true"/>
22+
<item android:alpha="@dimen/mtrl_high_ripple_focused_alpha" android:color="?attr/colorOnSecondary" android:state_focused="true"/>
23+
<item android:alpha="@dimen/mtrl_high_ripple_hovered_alpha" android:color="?attr/colorOnSecondary" android:state_hovered="true"/>
24+
<item android:alpha="@dimen/mtrl_high_ripple_default_alpha" android:color="?attr/colorOnSecondary"/>
2525

2626
</selector>

0 commit comments

Comments
 (0)