Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android display drawable in imageview

img=(ImageView)findViewById(R.id.imageview1);
Drawable myDrawable = getResources().getDrawable(R.drawable.imageView1);
img.setImageDrawable(myDrawable);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #display #drawable #imageview
ADD COMMENT
Topic
Name
1+6 =