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
0
votes
1 answer

Add "width=device-width" in meta name="viewport" if mobile phone

need to add "width=device-width" in meta name="viewport" if mobile phone. trying to use this to no avail: //iPhone Fix jQuery(document).ready(function(){ if (jQuery(window).width < 767) { var meta =…
cpk
  • 809
  • 1
  • 6
  • 20
0
votes
2 answers

UIAlertViewStyleLoginAndPasswordInput in iOS7

I'm testing my working application on iOS7. When the application starts it asks to the player to login. To gather user credentials I'm using the AlertView with style UIAlertViewStyleLoginAndPasswordInput It looks fine in iOS6 but something strange…
Francesco
  • 4,794
  • 1
  • 19
  • 27
0
votes
1 answer

iOS - sharing data amongst ViewControllers

I have 2 ViewControllers for the purpose of Landscape Orientation My First VC (portraitVC) has multiple UITextFields (about 30 of them) I'm using NSNotifications to observe when the interface orientation changes and when it does it pushes a…
0
votes
1 answer

c# printing a pdf landscape without resorting to 3rd party?

I'm trying to simply print a pdf file in landscape in C# code. Is it simply possible to do without 3rd party software perhaps through a system method? If so, how?
jfalberg
  • 141
  • 4
  • 16
0
votes
4 answers

How to keep android rotation landscape always

I want to keep landscape mode always. I Lock screen to portrait mode on Nexus7, I set android:screenOrientation="sensorLandscape" and android:configChanges="orientation|keyboardHidden"in AndroidManifest.xml, when I go to other activity and back to…
Lijun Lou
  • 245
  • 1
  • 5
  • 12
0
votes
1 answer

How to set only portrait orientation for view controller in iOS?

My project has many view controller (.xib file). I want: a view controller can only have portrait orientation. However an other view controller can only have landscape orientation. or a view controller can have both portrait and landscape…
user2678221
  • 15
  • 1
  • 8
0
votes
2 answers

Landscape Page Turn in Silverlight ( vertical )

i am looking for page turn Silverlight in landscape mode. Or can we show PDF file Silverlight?
Pragnesh Patel
  • 1,444
  • 3
  • 23
  • 38
0
votes
1 answer

Temporarily non-rotatable Android Activities?

Is it possible to make an Activity temporarily not rotatable (like, turning it on/off in code, not in the manifest)? One of my old apps crashes if you rotate while it's doing an HTTP lookup as the views are no longer attached when it returns. One…
Jeremy Logan
  • 47,151
  • 38
  • 123
  • 143
0
votes
1 answer

Modify action without deleting superclass actions

The Problem I have made a subclass of UIViewController that handles landscape mode, then I subclassed my subclass, that is shown to the user. Now, I wan't to add a subclass in the landscape view, and have the size the same as the landscape view, but…
JomanJi
  • 1,407
  • 1
  • 17
  • 27
0
votes
2 answers

Media query to differentiate between Galaxy in landscape mode and desktop viewing?

All I want to do is have a desktop-specific version, and then a mobile version that works on an iPhone, Android, iPad, and any other handheld device. What I have right now to detect desktop is: @media only screen and (min-device-width: 960px) { And…
0
votes
1 answer

Android App working on Virtual Device but not on Mobile Device

I am developing a simple mobile app. The problem is with the landscape orientation. It work fine on virtual device on eclipse and in landscape mode shows all buttons. But when i run app on my mobile device in landscape mode i still not shows all…
0
votes
1 answer

landscape orientation not showing APP BUTTONS on MOBILE

i am developing a simple app in Android. Whenever i change orientation to landscape one of my buttons get lost when i run APP on MOBILE device but my landscape view works fine with Andriod Simulator on PC. Other then this , APP works fine on Mobile…
Abhishek
  • 1,585
  • 2
  • 12
  • 15
0
votes
4 answers

keep android application landscape mode

Dilshi
  • 543
  • 3
  • 7
  • 17
0
votes
2 answers

Android: error occurs when taking a picture in landscape

I am trying to use the built-in camera application to take a photo and view it through an ImageView. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_photo); …
Kokas
  • 131
  • 1
  • 11
0
votes
1 answer

ActionBar custom style does not stay on rotation

I have created a custom ActionBar style, and when it is in portrait it looks as intended. For some reason though, when you rotate the screen to landscape the style is not applied and everything on the style bar is applied to a bright white…