Hi I am looking to learn about these so that I can give more good layouts and UI exp of my application. I want my app must run only in portrait mode in case of phone that I can set in the AndroidManifest.xml
like
<activity
android:name=".SplashActivity"
android:label="@string/title_activity_splash"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
But This will keep for all phones and tablet. If I do this way then of course my layout won't look good on 7 and 10 inch screens.
Question
How to set such that my app run in portrait mode in mobile phones and landscape mode on 7 and 10 inch screens.
Thanks in advance.