Answers for "get bitmap from drawable resource"

2

get bitmap from drawable

Bitmap icon = BitmapFactory.decodeResource(context.getResources(),
                                           R.drawable.icon_resource);
Posted by: Guest on December-10-2020

Code answers related to "get bitmap from drawable resource"

Browse Popular Code Answers by Language