Articles → Android → ImageView in android

ImageView in android






What is an ImageView control?





Example







Click to Enlarge




Click to Enlarge






Click to Enlarge




Click to Enlarge


Setting the image source from Java code




ImageView imageView = (ImageView)findViewById(R.id.imageView2);
imageView.setImageResource(R.mipmap.ic_launcher);



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, November 12, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250