Question: I have added image in android, but it is fitting to middle of the screen, what can I do to set it for full screen?

what is wrap\_content and fill parent, I'm not getting how to do this.

This is my code

```
<ImageView   
    android:scaleType="fitCenter"
    android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:src="@drawable/my_image" android:cropToPadding="false"/>

```

Answer: 
Try this 

```
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="center"

```

wrap\_content says ImageView to fit image dimension and fill\_parent to fit dimension of father layout.
You may try:

```
android:scaleType="fitXY"

```

Read more about [ScaleType](http://developer.android.com/reference/android/widget/ImageView.ScaleType.html).