Tutorial step by step Image Display with ImageView in Android Studio version 1.5.1 example. Copy-paste a picture from your pc, in drawable folder. Drag and drop ImageView in activity_main.xml file, then double click on ImageView and choose the location of your picture.
<ImageView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/imageView"
    android:layout_centerVertical="true"
    android:layout_centerHorizontal="true"
    android:src="@drawable/pic"/>
 Image Display with ImageView in Android Studio Video tutorial Check next tutorials to learn all about Android. For further questions leave a message.

4 Comments

You can follow any responses to this entry through the RSS 2.0 feed.

and waht about making zoom the photo ?,please i need your help

I need its java code

Ok

Leave a Reply to fasir cv Cancel reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image Refresh

*