giuseeFG / android-wheel

Automatically exported from code.google.com/p/android-wheel
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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