createBitmap

Create a bitmap from resources.

If cannot be decoded into a bitmap, will throw an exception.

Receiver

Resources

Return

Bitmap

Parameters

resId

the drawable resource id.

opts

the BitmapFactory.Options, default is null.

See also

Throws

if the bitmap decode failed.