How to load images from the mipmap
folder programmatically (as done with the drawables)?
img.setImageResource(imageId);
I am using Android Studio 1.2.1.
In Android Studio We have mipmap instead of drawable You Can Find Documents Related To Your Assets Here
You can use it Like
img.setImageResource(R.mipmap.ic_launcher);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With