[android-studio] How to add an image to the "drawable" folder in Android Studio?

Copy *.png image and paste to drawable folder.

After adding the image, you can use the added image asset in code:

You can either add image by using xml file

<ImageView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:src="@drawable/image_name" /> 

OR You can set image by using program:

ImageView iv = (ImageView)findViewById(v);  
iv.setImageResource(R.drawable.image_name);