/ Published in: Java
How to convert a drawable to a bitmap
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
BitmapFactory.decodeResource(getResources(), R.drawable.item_default_image)