Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware acceleration doesn't work with SDK >= 28 #66

Open
AnaelleFz opened this issue Sep 20, 2019 · 4 comments
Open

Hardware acceleration doesn't work with SDK >= 28 #66

AnaelleFz opened this issue Sep 20, 2019 · 4 comments

Comments

@AnaelleFz
Copy link

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

@Stupidman22
Copy link

I have problem with this too.

@vrsrohit
Copy link

Have you got any solution for this problem

@Stupidman22
Copy link

Stupidman22 commented Jan 21, 2020

Still finding a solution :(

@bhavin-qfonapp
Copy link

Found any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants