I created a landscape file by clicking create landscape variation. When I run the emulator, the landscape file did not run at all, however, it’s recognized in the design tab between portrait and landscape option.
This is my first time following a tutorial to create a landscape version of my app, should I write some code in the android manifest or my main to detect the orientation change?
Edit: I’m expecting the app to run the portrait file when it’s portrait and landscape file when it’s landscape
>Solution :
1.You can turn on auto rotate feature from your phone or emulator.
2.if you want to use landscape mode only then specify that on
your manifest file like this
<activity
android:name=".ui.VideoList"
android:screenOrientation="landscape"
android:parentActivityName=".ui.yb.MainActivity"
/>


