Question: I'm trying to merge a two ImageViews to make them look like as one, but there's bounding box that prevents them to be totally next to each other.

![ImageViews bounding box](https://i.stack.imgur.com/rOS19.jpg)

```
<ImageView
    android:id="@+id/imageView1"
    android:layout_width="200dp"
    android:layout_height="200dp"
    android:layout_margin="0dp"
    android:padding="0dp"
    android:src="@drawable/plant" />

<ImageView
    android:layout_width="200dp"
    android:layout_height="200dp"
    android:layout_margin="0dp"
    android:padding="0dp"
    android:src="@drawable/red_base" />

```

I tried setting padding and margin to 0 but it doesn't do it

Note: those two pictures that I used don't have a blank space around them.

Thanks!

Answer: 
```
set below two properties
android:adjustViewBounds="true"
android:scaleType="fitEnd"

```
Set top margin for the below image as -5 dp i.e. `android:layout_marginTop="-5dp"`

Below is your updated code

```
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <ImageView
        android:id="@+id/imageView1"
        android:layout_width="200dp"
        android:layout_height="200dp"
        android:src="@drawable/icon" />

    <ImageView
        android:layout_width="200dp"
        android:layout_height="200dp"
        android:layout_marginTop="-25dp"
        android:src="@drawable/icon" />

</LinearLayout>

```

\*Updated margin to -25dp, just to observe the change.