material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[CheckBox] Uncheck animation missing / animation durations unbalanced

Open patzly opened this issue 3 years ago • 0 comments
trafficstars

Description: Hi, thanks for the new beta release! I was very happy to try out the new checkbox animations, but sadly I have to say that I don't really like them :/ Personally I think the old animations were much more intuitive and smoother. The new ones are somehow missing the smoothness and playfulness of Material You. More precisely I mean the animation from unchecked to checked (too short in contrast to the (maybe too) long one from checked to indeterminate) and the one from checked to unchecked (I think it's completely missing or far too short). Also the old "bouncing" effect has much better suited the playfulness of Material You than the new static box I think.

New animation for reference: new

Expected behavior: I don't know how much of the animations are new specifications of the design team, currently the new docs for checkboxes are still not available for us regarding what they thought of, but I think the hard checked-to-unchecked animation is not a good experience and has to be improved. Maybe some re-thinking of the design team is required for the animation durations in general if they look the same in their docs. Here is the old animation for reference, notice the smooth and playful checked-to-unchecked animation:

old

Also I have to say that I don't understand why the new drawable animation files are made of filled paths instead of a simple stroke, that would make the transition to indeterminate technically much simpler and would allow rounded ends of the stroke (something I would prefer for checkboxes in my apps). Then a method setStrokeCapRounded(rounded) would be a very nice addition, but that would be a new feature request :)

Android API version: 33

Material Library version: 1.7.0-beta01

Device: Pixel 6

patzly avatar Aug 12 '22 19:08 patzly