title: android:fitsSystemWindows="true" for fragments
body: <p>I have one activity in which i am adding removing fragments programatically in <code>FrameLayout</code> container.</p>
  
  <p>If i keep <code>android:fitsSystemWindows="true"</code> for activities it works as expected. But if i apply <code>android:fitsSystemWindows="true"</code> in activity in shows for all fragments, instead i want to apply <code>android:fitsSystemWindows="true"</code> inside fragment layout or programatically in fragment.</p>
  
  <p>Anyone faced this?</p>
  
  <p>My layout looks like below.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      &gt;
      &lt;FrameLayout
          android:id="@+id/container"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
  
      &lt;/FrameLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>