title: React Native (Expo) - Keyboard pushing up screen on Android by default
body: <p>I am trying to make KeyboardAvoidingView consistent for Android devices. The problem I am experiencing is that, by default, Android seems to resize the screen when the keyboard shows/hide.</p>
  <p>This is really confusing to me, why is there a default padding on Android? For example, if you have this simple screen:</p>
  <pre><code>&lt;View style={{flex: 1}} &gt;
       &lt;View style={{ height: 100, backgroundColor: &quot;red&quot; }} /&gt;
  
       &lt;View style={{ flex: 1, backgroundColor: &quot;lime&quot; }} /&gt;
       
       &lt;View style={{ height: 125, backgroundColor: &quot;orange&quot; }}&gt;
          &lt;TextInput /&gt;  
       &lt;/View&gt; 
  &lt;/View&gt;
  </code></pre>
  <p>on iOS, keyboard will cover the screen, as expected, beause I am not using KeyboardAvoidingView here... but on Android, the view is resized, giving a paddingBottom to the view equals to the Keyboard height.</p>
  <p>Then, if I use KeyboardAvoidingView like this:</p>
  <pre><code>&lt;View style={{ flex: 1 }} &gt;
      &lt;KeyboardAvoidingView&gt; { /*  &lt;--- Can be my custom or the default RN component... the result is the same */  }
           &lt;View style={{ height: 100, backgroundColor: &quot;red&quot; }} /&gt;
   
           &lt;View style={{ flex: 1, backgroundColor: &quot;lime&quot; }} /&gt;
   
           &lt;View style={{ height: 125, backgroundColor: &quot;orange&quot; }}&gt;
               &lt;TextInput /&gt;  
           &lt;/View&gt;
      &lt;/KeyboardAvoidingView&gt;
  &lt;/View&gt; 
  </code></pre>
  <p>all works as expected for iOS... but on Android, two paddings are given (the defaults one, and the one which comes from KeyboardAvoidingView).</p>
  <p>Does anyone knows how to disable the default resize on Android (Expo)? I have seen people using</p>
  <blockquote>
  <p>&quot;softwareKeyboardLayoutMode&quot;: &quot;pan&quot;</p>
  </blockquote>
  <p>for the android map, on app.json, <a href="https://github.com/expo/expo/issues/9903" rel="nofollow noreferrer">but nothings happens when using it.</a></p>
  <p>Pd: In my case, I have implemented my own KeyboardAvoidingView (just listening the keyboard height and giving a paddingBottom to the container) to manipulate the layout, because on android, the component which is provided by the standard library &quot;react-native&quot; doesn't shows any smoothy transition on Android when pushing up the screen. I have tested both components, mine and the default one from RN, and the behaviour is the same.</p>