Questions tagged [landscape]

A page or device orientation in which the horizontal axis is longer than the vertical axis.

A page or device orientation in which the horizontal axis is longer than the vertical axis. Contrast with portrait orientation, where the vertical axis is the major axis.

1434 questions
14
votes
4 answers

How to restrict my app to landscape mode?

I have my iPad application created using the SplitView template. I wonder what is the best way to restrict my application to landscape mode? I have tried overriding shouldAutorotateToInterfaceOrientation: method in DetailViewController.m -…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
14
votes
2 answers

How to set app to be portrait only?

The only thing I can find is to use this: android:configChanges="orientation" android:screenOrientation="portrait" but it stays as normal. My manifest: ?xml version="1.0" encoding="utf-8"?>
Synnipoe
  • 200
  • 1
  • 2
  • 13
14
votes
3 answers

Is there a way to avoid having fullscreen SearchView/Keyboard on landscape?

I'm trying to avoid having fullscreen keyboard editing on landscape in order to access to the suggestions. I already read a lot of threads explaining that I have to add EditorInfo flags like flagNoFullscreen and/or flagNoExtractUi. I added them…
13KZ
  • 1,295
  • 5
  • 24
  • 43
13
votes
3 answers

Storyboards orientation support for xCode 4.2?

I upgraded to xCode 4.2 and it's new Storyboards feature. However, could not find a way to support both portrait and landscape. Of course, I did it programmatically, with 2 views, one for portrait and one for landscape, like in old days, and: if…
Beny Boariu
  • 736
  • 2
  • 11
  • 26
13
votes
3 answers

Changing to landscape in interface builder. Xcode 4 (iOS)

I'm working on an iPad app that's going to be in landscape. But how I change so the window in interface builder is in landscape? I remember in the old Interface Builder I just needed to click on an arrow and it switched to landscape. I'm using…
Tapy
  • 1,044
  • 6
  • 17
  • 30
13
votes
2 answers

Orienting iOS splash image to landscape/portrait according to launch orientation

I have an app that can launch in portrait or landscape. I'd like the Default.png file (the splash image that appears when the app launches) to show the image in the correct orientation so I expect I'd need to use two different images (different…
Joey
  • 7,537
  • 12
  • 52
  • 104
13
votes
2 answers

Perlin Noise detail level. How to zoom in on a landscape?

I've written my own Perlin Noise implementation and it works well. I can 'zoom' in and out by changing the frequency, but as I zoom in the noise gets smoother and smoother. Assume I have a landscape that displays a continent. I want to zoom in down…
Jason
  • 1,225
  • 2
  • 16
  • 18
13
votes
1 answer

Best way to change XIB files based on rotation?

My app has so far just been a portrait-based application. However, I am adding landscape mode to a new version, but have found that my XIB files look shocking when rotated from portrait to landscape. Apparently I need to make a landscape version of…
Graeme
  • 1,317
  • 4
  • 18
  • 27
12
votes
3 answers

WPF: How do you print in Landscape mode?

found this function online, which works great... except I can't figure out how to default it to print in landscape. private void PrintClick(object sender, RoutedEventArgs e) { PrintDialog dialog = new PrintDialog(); if (dialog.ShowDialog() ==…
michael
  • 14,844
  • 28
  • 89
  • 177
12
votes
2 answers

How to detect landscape left (normal) vs landscape right (reverse) with support for naturally landscape devices?

What I would like to do: Detect the current layout orientation of the device (Portrait, Landscape-Left, Portrait(upside down), Landscape-Right) Differentiate between the two possible landscape modes (leaning on the left side, leaning on the right…
cottonBallPaws
  • 21,220
  • 37
  • 123
  • 171
12
votes
1 answer

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 described bug that touches TabBar and…
12
votes
1 answer

WPF to XPS in landscape orientation

i am trying to to generate a XPS Document from a WPF Control. Printing works so far, but i cannot find a way to create the XPS in landscape mode. My code to create the XPS file, mostly taken from another SO page public FixedDocument…
Felix
  • 123
  • 1
  • 4
12
votes
2 answers

How to add scrolling to the view when screen orientation is changed to landscape?

I have an Activity with several TextEdits and in portrait mode everything is displayed perfectly.But when i switch the device to the landscape mode several views didn't displayed (they are cut).Can i in some way automatically add scrolling to the…
Oleksandr Karaberov
  • 12,573
  • 10
  • 43
  • 70
11
votes
3 answers

Ipad in landscape mode and iphone in portrait mode

I need to set Portrait mode when my application is running in a iPhone and in Landscape mode when running in iPad. I have change in info.plist but i can't set it for iPad or iPhone.
Nabil El
  • 972
  • 1
  • 10
  • 24
10
votes
3 answers

Android, front and back camera Orientation , Landscape

In my camera app, you can switch between the front and back camera. When I take picture with the back camera the picture is the same like the preview shows. But when I switch to the front camera, the picture is mirrorrd.I think it has something to…
Maikel Bollemeijer
  • 6,545
  • 5
  • 25
  • 48
1 2
3
95 96