android / codelab-constraint-layout

Constraint Layout Codelab
https://codelabs.developers.google.com/codelabs/constraint-layout/
Apache License 2.0
471 stars 242 forks source link

2.0 beta-3 TextView flickers on size animation in MotionLayout #75

Open Only-IceSoul opened 4 years ago

Only-IceSoul commented 4 years ago

I'm currently trying to create a toolbar animation with the MotionLayout. Everything works fine except the fact that the TextView with the height and width "wrap_content" is partly flickering when the size of the TextView is increased.

textview1 textview2 textview3

Only-IceSoul commented 4 years ago

Solved!!

Width to wrap_content - wrap_content to Width

wrap_content to wrap_content not working, fix bug pls.

Only-IceSoul commented 4 years ago

Still need wrap_content to wrap_content. just add +1 to witdth animation pls.