In my application, I set an AbsoluteLayout to put buttons on an exact positions.
But when I rotated the emulator (CTRL+F11), the layout was all broken.

So here’s how to block the application on the “Portrait” layout:

Set the attribute “screenOrientation” to the value “portrait” into your main Activity in AndroidManifest.xml:

<activity android:name=".activities.OxydroidActivity"
    android:label="@string/app_name"
    android:screenOrientation="portrait">
</activity>

Thanks to Evan JIANG !