title: What is the purpose of Android's <merge> tag in XML layouts?
body: <p>I've read <a href="http://developer.android.com/training/improving-layouts/reusing-layouts.html" rel="noreferrer">Romain Guy's post</a> on the <code>&lt;merge /&gt;</code> tag, but I still don't understand how it's useful. Is it a sort-of replacement of the <code>&lt;Frame /&gt;</code> tag, or is it used like so:</p>
  
  <pre><code>&lt;merge xmlns:android="...."&gt;
  &lt;LinearLayout ...&gt;
      .
      .
      .
  &lt;/LinearLayout&gt;
  &lt;/merge&gt;
  </code></pre>
  
  <p>then <code>&lt;include /&gt;</code> the code in another file?</p>