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

Shadows are drawn only occasionally on Android 3.1 with hardware acceleration #18

Open
GoogleCodeExporter opened this issue Oct 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

If gpu hardware acceleration is enabled (I enabled it globally in the manifest 
application tag), the shadows are drawn only occasionally. If multiple wheels 
are part of the same dialog, some may show a shadow, some may not, there may be 
only one shadow (upper or lower) etc.
This might be more of a honeycomb issue than of android-wheel, but we cannot 
change honeycomb ;)

As workaround for my app, I inserted "setLayerType(View.LAYER_TYPE_SOFTWARE, 
null);" in the constructor of WheelView directly after the super() call 
effectively disabling hardware acceleration for android-wheel.


What version of the product are you using? On what operating system?

- Android-wheel 2.1
- Acer Iconia Tab A500
- Honeycomb 3.0.1, Build-number Acer_A500_1.141.01_EMEA_CUS7.
- App theme=Theme.Holo.Light, targetSdkVersion=11, minSdkVersion=7, I use the 
wheels in a custom dialog

Original issue reported on code.google.com by Achim.Le...@googlemail.com on 10 Jul 2011 at 4:40

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

No branches or pull requests

1 participant