title: Setting window.setDecorFitsSystemWindows() to false hides UI and gives Abnormal result
body: <p><a href="https://i.stack.imgur.com/aShpZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aShpZ.png" alt="As we can see, Edit text is not displayed" /></a></p>
  <p>I am trying new IME Animations present in Android 11 beta. I created one Activity that has following layout as view :</p>
  <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
  xmlns:tools=&quot;http://schemas.android.com/tools&quot;
  android:layout_width=&quot;match_parent&quot;
  android:layout_height=&quot;match_parent&quot;
  tools:context=&quot;.MainActivity&quot;&gt;
  
  &lt;EditText
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:hint=&quot;Hello World!&quot;
      app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
      app:layout_constraintLeft_toLeftOf=&quot;parent&quot;
      app:layout_constraintRight_toRightOf=&quot;parent&quot;
      android:autofillHints=&quot;&quot;
      android:inputType=&quot;text&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  <p>In onCreate of my Activity class, I set following class :</p>
  <pre><code>window.setDecorFitsSystemWindows(false)
  </code></pre>
  <p>by definition, I am requesting the app to be laid out fullscreen.</p>
  <p>But as soon as I add it, View Disappears and a white screen is inflated. Any idea why?</p>