title: View moving up in xamarin forms android when keyboard appears
body: <p>The status bar and the screen moves up completely when the keyboard popsUp in xamarin forms android and the EditText field is in the bottom of the screen. I tried using  </p>
  
  <pre><code>WindowSoftInputMode = SoftInput.AdjustPan 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>WindowSoftInputMode = SoftInput.AdjustResize
  </code></pre>
  
  <p>But unfortunately both are not working,i also clubbed both 
  From a blog post i <a href="https://xamarinhelp.com/accommodate-on-screen-keyboard-xamarin-forms/" rel="nofollow noreferrer">read</a> putting </p>
  
  <pre><code>Xamarin.Forms.Application.Current.On&lt;Xamarin.Forms.PlatformConfiguration.Android&gt;().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>if (Build.VERSION.SdkInt &gt;= BuildVersionCodes.Lollipop)
  {
      Window.DecorView.SystemUiVisibility = 0;
      var statusBarHeightInfo = typeof(FormsAppCompatActivity).GetField("_statusBarHeight", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
      statusBarHeightInfo.SetValue(this, 0);
      Window.SetStatusBarColor(new Android.Graphics.Color(0,0,0, 255)); // Change color as required.
   }
  </code></pre>
  
  <p>after launch application is an alternative, but unfortunately this also failed. Any other option available?</p>