HardwareAccelerated false removes elevation
Asked Answered
A

1

6

Setting hardware accelerated to false in my androidManifest removes elevation from my views..

When hardware accelerated is false, it removes elevation

When hardware accelerated is true, elevation is there but no smooth scrolling

Is there any way to solve this problem and i need both things in my app..

Absent answered 23/4, 2018 at 7:59 Comment(0)
F
2

You can't have elevation without hardware acceleration, so I suggest you set it true and find your problems, may be you draw something multiple time or ...

These links help you to solve your problem:

If you really don't want to enable it, you can use these solutions:

Flaccid answered 23/4, 2018 at 8:19 Comment(1)
I have scroll view also and My scrollview lags when i set hardware acceleration to truee....Absent

© 2022 - 2024 — McMap. All rights reserved.