kanagavel2win / svg-android

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

jellybean with graphics acceleration doesn't render #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to render on jellybean with graphics acceleration

What is the expected output? What do you see instead?
none of the svg images display at all

What version of the product are you using? On what operating system?
jellybean, tried on a phone and nexus tab

Original issue reported on code.google.com by lance.gi...@gmail.com on 27 Jul 2012 at 6:17

GoogleCodeExporter commented 8 years ago
I have experienced this issue as well on the Galaxy Nexus running Android 4.1.  
No errors are thrown.

Original comment by nickey...@gmail.com on 28 Jul 2012 at 1:02

GoogleCodeExporter commented 8 years ago
On GalaxyNexus with Jellybean I can only get the parsed images to render by 
reducing the android:targetSdkVersion to 10 or less, the 
android:hardwareAccelerated tag has no effect.

Original comment by James...@gmail.com on 1 Aug 2012 at 12:57

GoogleCodeExporter commented 8 years ago
Experiencing this issue as well on a Nexus 7 running 4.1.1. The debugger seems 
to show that the image resource is being loaded and added to the ImageView 
properly, but it doesn't render in the app.

Original comment by aaron.ra...@gmail.com on 10 Aug 2012 at 4:26

GoogleCodeExporter commented 8 years ago
Update: I am able to work around this issue for now by disabling hardware 
acceleration for the view on Jelly Bean via 
ImageView.setLayerType(View.LAYER_TYPE_SOFTWARE, null). Confirmed to work on 
Nexus 7/4.1.1.

Original comment by aaron.ra...@gmail.com on 10 Aug 2012 at 6:31