ShapeOfView icon indicating copy to clipboard operation
ShapeOfView copied to clipboard

Hardware acceleration doesn't work with SDK >= 28

Open AnaelleFz opened this issue 4 years ago • 4 comments

Hey @florent37,

First of all, thank you for your library.

When I used a RoundRectView with a mapView inside it's works fine except for device on Android P and Android Q. I think you just need to check if the canvas is hardware accelerated and set setLayerType(View.LAYER_TYPE_HARDWARE, null) before drawing it (ShapeOfView.java line 154).

Can you fix it?

Regards,

Anaëlle

AnaelleFz avatar Sep 20 '19 09:09 AnaelleFz

I have problem with this too.

Stupidman22 avatar Dec 31 '19 15:12 Stupidman22

Have you got any solution for this problem

vrsrohit avatar Jan 20 '20 10:01 vrsrohit

Still finding a solution :(

Stupidman22 avatar Jan 21 '20 14:01 Stupidman22

Found any solution?

bhavin-qfonapp avatar Feb 08 '22 09:02 bhavin-qfonapp