title: requestFeature() must be called before adding content in Xamarin Forms application
body: <p>I am developing one sample login application using xamarin forms, I developed code in common portable project. When running in Xamarin forms android project, this error is displayed:</p>
  
  <blockquote>
    <p>Android.Util.AndroidRuntimeException: requestFeature() must be called before adding content</p>
  </blockquote>
  
  <p>The code is:</p>
  
  <pre><code>public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
  {
      protected override void OnCreate (Bundle bundle)
      {
          base.OnCreate (bundle);
  
          global::Xamarin.Forms.Forms.Init (this, bundle);
  
          LoadApplication (new App());
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/fpaMq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fpaMq.jpg" alt="enter image description here"></a></p>
  
  <p>How can I overcome this?</p>