JcMinarro / RoundKornerLayouts

Round Korner Layouts is an Android library create to build a layout with the round corners

Home Page:https://jcminarro.github.io/RoundKornerLayouts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Corners aren't smooth

kassim opened this issue · comments

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 :)