title: Is it fine to use LinearLayout instead of FrameLayout?
body: <p>I am building an application with one Activity <code>MainActivity</code> which consists of two fragments. And I came across with many tutorials that use <code>FrameLayout</code> as the parent container for the fragment layout. </p>
  
  <p>However, I came to know that I can still use <code>LinearLayout</code> as parent container of the fragment and it works perfectly fine (so far).</p>
  
  <p>My question, is there any side effect(s) of not using <code>FrameLayout</code> as the parent container for the fragment layout?</p>
  
  <p>If there isn't, then what is the advantage of using <code>FrameLayout</code> over <code>LinearLayout</code> (or other possible layout) as the parent container of the fragment layout.</p>