Answers for "set image in imageview from drawable in android"

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
0

how to create a new imageview in android java

ImageView move = new ImageView(this);
Posted by: Guest on November-24-2020

Code answers related to "set image in imageview from drawable in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language