Answers for "how to get image from drawable folder in imageview android studio"

0

android display drawable in imageview

img=(ImageView)findViewById(R.id.imageview1);
Drawable myDrawable = getResources().getDrawable(R.drawable.imageView1);
img.setImageDrawable(myDrawable);
Posted by: Guest on April-07-2021

Code answers related to "how to get image from drawable folder in imageview android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language