How to specify id when uses include in layout xml file
<p>In my layout xml file, I have included other layout xml file (each
with a different android id).</p>

<pre><code>&lt;include layout="@layout/view_contact_name" android:id="+id/test1"/&gt;
&lt;include layout="@layout/view_contact_name" android:id="+id/test2"/&gt;
</code></pre>

<p>But when I run it in the emulator, and start Hierarchy Viewer, each of
the layout still shows 'NO_ID', and in my code, I have
<code>findViewById(R.id.test1)</code> and <code>findViewById(R.id.test2)</code> both returns null.</p>

<p>Can anyone please help me with my problem ?</p>
