Genymotion screen orientation issue for tablet

2019-02-26 03:48发布

I am using Genymotion. I created layout for sw800dp tablet and sw600dp. I want my app only for portrait, so what i did

<activity android:name="TestCountry"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

</activity>

Now If i run the app with genymotion emulator size 1280x800

it shows following output

enter image description here

and then press ctrl+F11 and change orientation then it shows

enter image description here

Can anyone tell why it is giving wrong output

0条回答
登录 后发表回答