christophesmet / android_maskable_layout

A library that easily allows you to mask layouts/viewgroups
Apache License 2.0
652 stars 145 forks source link

Fix rate for mask? #44

Closed myaaghubi closed 4 years ago

myaaghubi commented 4 years ago

I need to fit MaskableFrameLayout to my activity so I need to make a fixed rate between width and height for the mask image. How it's possible?

christophesmet commented 4 years ago

I would suggest filling the parent view and making the parent view a constraint layout or something else. It doesnt sound like a good property to add in this layout.