Antialias On Clippath On Layout
I have a layout, which has several views inside of it - toolbar, recyclerview and few separators (which are simple views with height of 2dp and match_parent width). I wanted to put
Solution 1:
try this SO answer, of course instead of mMask.draw(canvas)
which is a "mask" made by a NinePatchDrawable
you would need to call canvas.drawPath()
with a Paint
set with PorterDuff.Mode.DST_IN
xfer mode
Post a Comment for "Antialias On Clippath On Layout"