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

clipPath is not supported in API below 18 #1

Closed SaeedMasoumi closed 7 years ago

SaeedMasoumi commented 7 years ago

Calling canvas.clipPath with hardware acceleration is only supported in API level 18 and higher, so I think it will not work properly in API below 18

JcMinarro commented 7 years ago

I don't have any device with API below 18. Do you have one? Could you try if it works? Do you know how could we improve it?

SaeedMasoumi commented 7 years ago

@JcMinarro This is how it looks like on HTC one mini (API 17)

screenshot_2017-06-29-17-49-03

sergiandreplace commented 7 years ago

Better use layer composition. I can do a PR tomorrow if you want

JcMinarro commented 7 years ago

Hi @sergiandreplace. Thank you for the interest. PR are always welcome 😉