ImageView in Android Example

Every Application need awesome UI, we have learn some component. Now to show image in UI we can use Imageview in Android.

ImageView is beautiful component to display image in UI. ImageView provide some extra options to mange image like ScalType, Backgroung, setAlpha etc. We learn about ImageView today.

Let’s see simple example. First create new project and put images in drawable-hdpi folder(if not created then create first. Right click on res->New->Directory name as drawable-hdpi).


Now run project. Our output looks like below.


Download Project.


(Visited 498 times, 1 visits today)