title: "Found cyclical <include> chain" error in XML layout file
body: <p>I am creating a XML layout for my activity - let's call it <code>layout_a.xml</code> - which looks like:</p>
  
  <pre><code>&lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
      &lt;include layout="@layout/layout_b"/&gt;
      &lt;include layout="@layout/layout_b"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Here is <code>layout_b.xml</code>:</p>
  
  <pre><code>&lt;FrameLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
      &lt;ImageView
          android:id="@+id/place_details_list_entry_checkins_history_user_avatar"
          android:layout_width="34dip"
          android:layout_height="34dip"
          android:src="@drawable/icn_profilepic_medium"
          android:scaleType="centerCrop"/&gt;
      &lt;ImageView
          android:id="@+id/place_details_list_entry_checkins_history_user_avatar_provider_icon"
          android:layout_gravity="bottom|left"
          android:src="@drawable/icn_fb_small"
          android:layout_width="11dip"
          android:layout_height="11dip"/&gt;
  &lt;/FrameLayout&gt;`
  </code></pre>
  
  <p>I get this error in Eclipse:</p>
  
  <p>Found cyclical &lt;include&gt; chain: layout_a=>layout_b</p>
  
  <p>Does anybody have a hint on what is causing it?</p>