In this tutorial we will learn how to use ImageView in Android. ImageView is really helpful widget and we use this widget to add Images in our Android App. In this tutorial, we will learn how to use drawable images in ImageView. we will also learn how we can add images in ImageView from XML layout file and how we can add images in ImageView from Java file. So without wasting time let's directly jump to our Examples.
Before writing any code firstly we will add a image in our project. For that you can copy image from anywhere in PC and then you Have to add this image in res/drawable folder of our project. While adding an image always keep it in your mind image size should be less than 1 mb and image name should be in small letter.