christophesmet / android_maskable_layout

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

BUG for mask area #3

Closed leaf918 closed 9 years ago

leaf918 commented 9 years ago

in function makeBitmapMask: Canvas canvas = new Canvas(mask); drawable.setBounds(0, 0, getMeasuredWidth(), getMeasuredWidth()); as above: the last line should be: drawable.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());

you made a typo.

christophesmet commented 9 years ago

Thanks for spotting that ! Fixed and closed. Thanks again !