title: Warning: This <FrameLayout> can be replaced with a <merge> tag
body: <p>I have a <code>FrameLayout</code> that contains a <code>TextView</code> and two <code>LinearLayout</code>s:</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
  
      ... a textview and 2 linearlayouts
  
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>After running Android Lint, I get this warning: <code>This &lt;FrameLayout&gt; can be replaced with a &lt;merge&gt; tag.</code> </p>
  
  <p>Why does this warning exist? What can I do to fix it (other than ignore)? </p>