Genymotion screen orientation issue for tablet

纵然是瞬间 提交于 2019-12-02 04:32:17

问题


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

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

Can anyone tell why it is giving wrong output

来源:https://stackoverflow.com/questions/42172864/genymotion-screen-orientation-issue-for-tablet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!