android - How to change the size of bitmaps when loaded from xml -


i know can change size of bitmaps loaded programmatically using bitmapfactory.options (i.e. forcing 32 via argb_8888 or 16 bit via rgb_565). there equivalent when loading bitmaps via xml (such when defining drawables , background images in layout)? if there isn't built-in switch available configures this, there way accomplish other stripping graphics out of xml , handling them manually?

you cannot xml, have code.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -