JcMinarro / RoundKornerLayouts

Round Korner Layouts is an Android library create to build a layout with the round corners
https://jcminarro.github.io/RoundKornerLayouts/
Apache License 2.0
202 stars 36 forks source link

Corners aren't smooth #18

Open kassim opened 5 years ago

kassim commented 5 years ago

As can be seen in the preview in the readme, the corners aren't smooth.

A desired smooth corner can be achieved when wrapping a view in a CardView so I think it should be possible with this library. My uneducated assumption would be "there's a lack of anti-aliasing" but its probably more than that.

Edit: I found this StackOverflow post that performs it excellently. https://stackoverflow.com/a/26201117/2233621 I'll be using the solution in the post for my project but perhaps it could be used to help enhance your library :)