Drawable to Bitmap


/ Published in: Java
Save to your folder(s)

How to convert a drawable to a bitmap


Copy this code and paste it in your HTML
  1. BitmapFactory.decodeResource(getResources(), R.drawable.item_default_image)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.