florent37 / ShapeOfView

Give a custom shape to any android view, Material Design 2 ready
Apache License 2.0
3.12k stars 400 forks source link

Dynamically Resizing #14

Closed victor-m-1994 closed 6 years ago

victor-m-1994 commented 6 years ago

I've attempted to resize the view after it was initally set using .setClipPathCreator(Path path), however it only seems to resize the view when an EditText is pressed and pops up the keyboard. Does anybody know how to force the views to resize? Tried .forceLayout(), .invalidate(), and requestLayout() to no avail.

florent37 commented 6 years ago

I'll try to fix it

florent37 commented 6 years ago

fixed in 1.0.9, you can use animations if you want, look at AnimationActivity

florent37 commented 6 years ago

shapeofview_anim