We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bedc6bd commit cfef899Copy full SHA for cfef899
lib/java/com/google/android/material/button/MaterialButton.java
@@ -204,8 +204,9 @@ interface OnPressedChangeListener {
204
205
private static final int DEF_STYLE_RES = R.style.Widget_MaterialComponents_Button;
206
207
- private static final float DEFAULT_BUTTON_CORNER_SPRING_DAMPING = 0.8f;
208
- private static final float DEFAULT_BUTTON_SPRING_STIFFNESS = 380;
+ // Use Fast Bouncy spring as default.
+ private static final float DEFAULT_BUTTON_CORNER_SPRING_DAMPING = 0.6f;
209
+ private static final float DEFAULT_BUTTON_SPRING_STIFFNESS = 800;
210
211
@NonNull private final MaterialButtonHelper materialButtonHelper;
212
0 commit comments