I've been dealing with this issue for some time but it's really
causing me problems today.
Here's what I'm doing:
BitmapFactory.Options opts = new BitmapFactory.Options();
opts.inScaled = false;
return BitmapFactory.decodeResource(context.getResources(),
resourceId, opts);
And on many PNGs
aapt will optimize PNGs already, no need to do it in Photoshop. That
also means, for instance, that if your PNG does not have any
transparent pixel, aapt will detect that and turn your PNG into an
opaque PNG, hence giving you a 565 image. There are other
optimizations too (for instance, if you
2 matches
Mail list logo