using merge with layouts giving error for one file, no error on other. same code!
<p>I am creating a few layouts with the root element being <code>merge</code>.  inside the <code>merge</code> element i have a <code>ScrollView</code> containing a <code>TextView</code>.  Here is the file:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;merge
  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;ScrollView
    android:id="@+id/scroll"
    android:padding="6dp"
    android:layout_below="@id/headingLayout"
    android:layout_above="@id/tabsLayout"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"&gt;
    &lt;TextView
      android:id="@+id/aboutTxt"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" /&gt;
  &lt;/ScrollView&gt;
&lt;/merge&gt;
</code></pre>

<p>I am getting 2 errors: there is no resource to match the <code>layout_below</code> and <code>layout_above</code> names i have put in.</p>

<p>I have another layout xml file including very similar components, some of which also reference <code>@id/headingLayout</code> and <code>@id/tabsLayout</code>.  Both of these XML layout files do not contain the component with name <code>headingLayout</code> or <code>tabsLayout</code></p>

<p>Why is it that one layout file has no errors about these references and the other layout file does?  What the crap am i doing wrong, the app will build and run like i expect, until i add this merge to another layout?</p>

<p>I have even tried copying the xml from the working layout file, to find that it gives the same errors, something must be wrong with my new layout file.  I have tried cleaning, rebuilding, opening/closing eclipse..</p>
