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..
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:
https://developer.android.com/guide/topics/graphics/hardware-accel.html#tips
https://stackoverflow.com/a/16432999/1105277
If you really don't want to enable it, you can use these solutions:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With