0

I'm facing a bad problem with my app using [svg-android][1] library. As I asked here:

https://android.stackexchange.com/questions/49755/androidify-does-not-show-correct-graphic-on-my-device

I'm facing the same problem affecting the Androidify app from Google, so I think it's something regarding the loading from resource or the image displaying.

This what I see on my tablet (Android 4.2.2) running Androidify and it's the same bad result I get from my app:

Androidify

1 Answer 1

1

Finally I found that in recent version of Android I need to use this code snippet:

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
     imageView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.