title: Include same layout multiple times
body: <p>I have a common layout (common.xml) which I want to include many times in another layout (layout_a.xml). But it only shows me just one time. Why? </p>
  
  <p><strong>common.xml</strong></p>
  
  <pre><code>&lt;merge xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
      &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
          android:background="@android:drawable/alert_light_frame"&gt;
  
          &lt;ImageView
  
              android:layout_width="match_parent"
              android:layout_height="150dp"
              android:id="@+id/imageView"
  
              android:src="@drawable/test"
  
              android:scaleType="centerCrop" /&gt;
  
          &lt;TextView
  
              android:layout_width="match_parent"
              android:layout_height="100dp"
              android:layout_below="@+id/imageView"
              android:id="@+id/textView"
              android:text="test"
              android:layout_marginTop="10dp"
              android:layout_marginRight="10dp"
              android:layout_marginLeft="10dp" /&gt;
      &lt;/RelativeLayout&gt;
  &lt;/merge&gt;
  </code></pre>
  
  <p><strong>layout_a.xml</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;include layout="@layout/common" /&gt;
  
      &lt;include layout="@layout/common" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>