how to make a drawable from an imageview android studio code example
Example: android display drawable in imageview
img=(ImageView)findViewById(R.id.imageview1);
Drawable myDrawable = getResources().getDrawable(R.drawable.imageView1);
img.setImageDrawable(myDrawable);