Android + XAMARIN + Force screen to stay in "Portrait" mode (using AndroidManifest)
<p>I read some of the answers to this problem on here but somehow I don't get it to work.</p>

<p>My AndroidManifest.xml looks like this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="mWidas2.mWidas2" android:versionCode="1" android:versionName="1.0" android:installLocation="auto"&gt;
  &lt;uses-sdk /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;application android:label="WQS" android:icon="@drawable/temporaryIcon"&gt;
    &lt;activity android:name=".MainActivity"
    android:configChanges="keyboard|keyboardHidden|orientation" /&gt;
  &lt;/application&gt;
&lt;/manifest&gt;
</code></pre>

<p>I am still able to switch to landscape mode and since the layout gets pretty ugly in landscape mode I want to avoid that. Help much appreciated.</p>

<p>Might be of any importance: I'm developing the App with the latest Xamarin</p>