All Questions
Tagged with landscape-portrait landscape
40 questions
0
votes
0
answers
20
views
Navigating two times from landscape to portrait in iOS
Button pressed from current screen is landscape and its moves to other screen which is locked to Portrait in iOS. Version 17 OS its coming as two times and lower versions like iOS 15 0r 16 in that its ...
0
votes
1
answer
621
views
Importance of wrapping SwiftUI View in GeometryReader for landscape orientation
After years of development using UIKit I decided to get my hands on SwiftUI. And I found one very odd thing, that cost me at least 6 hours of hair pulling.
Objective: I have an application that works ...
3
votes
3
answers
9k
views
How to lock Orientation for a particular screen in ios in react native?
I want to lock the orientation of my camera screen.
<Stack.Screen name="Camera" component={Camera} options={{ headerShown:false,orientation:'landscape'}}/>
This works fine in android ...
1
vote
0
answers
49
views
Random landscape layout issues
I have build android application and in manifest I have android:screenOrientation="sensorLandscape" also I use android:configChanges="locale|keyboard|keyboardHidden|orientation|...
1
vote
1
answer
1k
views
Portrait/Landscape per screen in flutter app
Building a flutter app. I want one page to display in landscape, and the rest of the app to display in portrait. I can make that happen using techniques that I've found here and elsewhere, but it ...
-1
votes
1
answer
62
views
Landscape screen for custom android phone
I'm using my Android phone (Xiaomi A2 Lite, 5.84 inches, 1080 x 2280, which is even bigger than Nexus 5) for app development. I have landscape layouts for every layout I have, and I used ...
8
votes
4
answers
5k
views
Flutter Device orientation for single page on iOS
I want to show a single page in my Flutter application in landscape mode. Every other screen should be shown in portrait mode.
I found this code snippet:
In my main.dart
SystemChrome....
0
votes
0
answers
56
views
Show a gif when a device turns into landscape [duplicate]
I have a webpage where only mobile/tablet devices can access a page. I need to make it so that when the device turns into a landscape mode it will display a gif,
I have looked all over the internet ...
13
votes
1
answer
2k
views
Safe Area changes in parent VC when presenting modally VC in landscape
Safe Area Insets in first UIViewController changes to Safe Area Inset for landscape when I present SecondViewController, which supports only landscape orientation.
GIF with described bug
GIF with ...
0
votes
2
answers
193
views
Android Tablet Landscape and Portrait Modes
I want to extend my mobile app to Android Tablet as well. My mobile app supports only Portrait mode in mobile but in Tablet I want to support both Landscape and Portrait modes.
But I don't want to ...
0
votes
3
answers
443
views
Force orientation in ios9
I want to force portrait mode in 2 viewController and 1 viewController with landscape mode,
I have tried older technique , but those are not working in ios9
1
vote
3
answers
3k
views
Landscape Mode not working in Android Studio
I have created Android layout resource files for landcape mode for all different screen sizes such as, small, large, medium and extra large , however, when I run the app it does not work in landscape ...
2
votes
2
answers
77
views
Different landscape and portrait design
Hi i have a portrait design of my app and i want to change this design when the user rotate the device.
Something like that:
Portrait:
Button 1 - Button 2
Button 3 - Button 4
Landscape:
...
23
votes
4
answers
14k
views
How to prevent a Phonegap application to switch to landscape view
This one should be very simple, however it's not. I'm trying to prevent my application from going into landscape view so I've changed the config.xml file like this: <preference name="orientation" ...
0
votes
3
answers
118
views
iPad required launch images
I'm developing a universal iOS app that only supports portrait and upside-down interface orientations. When supplying the launch images in Xcode, I see that I have warnings for landscape orientations, ...