portrait

How do I make an HTML page print in landscape when the user selects 'print'?

We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select landscape. It's minor, but would be nice for the user if we can remove this unnecessary step. Thanks in advance to all respondents. ...

How do I develop for both Portrait and Landscape display formats?

I'm currently developing for a handheld device running Windows XP Professional (not Tablet PC edition). The device allows users to switch from the standard widescreen landscape display format to a portrait one. I would like to know if there are any VB.NET code snippets to help me along with this task. ...

Restrict images in scroll view to stretch when iPhone moved to landscape orientation

I have imageViews as content for in the UIScrollView. If a user is viewing a potrait picture (320x480) and moves the iPhone in landscape orientation - the image stretches to occupy full screen. I want to restrict the image to stretch. I want a functionality similar to the photos app where image is scaled down and shows black strips in le...

Rotation Portrait Landscape with 2 XIB

Hello, i have got 2 GUIs and 2 Controllers 1 is called landscapeguicontroller and the second is called highguicontroller. Now generally i call the highguicontroller, and when i rotate my iphone it detects that and then it shows the landscapeguicontroller: Code: landscapeguicontroller *neu =[[landscapeguicontroller alloc] initWithNibNa...

Modding Sonos Desktop Controller to Landscape view

Hi Forum ! I think ive found the right place and people to ask this question. Im using Sonos Desktop Controller App, which is free from Appstore. For a long time ive waited for them to come up with a Landscape mode for the software, but it ONLY supports Portrait from factory defaults. Now ive started to take the matter into my own han...

How to print page 1 in portrait and page 2 in landscape in CRXI

I made a report in CR11. I want to print it as follows. Page 1 in portrait orientation and page 2 in landscape orientation. Is this possible? If it is, how do I do that. kind regards André ...

.Net Winform Apps with Portrait Monitor

I have noticed an undesirable behavior with .net winforms applications. I have a wide screen monitor rotated 90 degrees to the portrait orientation. When .net winforms applications display on it, the window appears, but it is all blank, white. I can fix the window by hitting ctrl-alt-delete and when the dialog comes up, hitting cancel, t...

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 of these days I'll fix it proper, but in the mean time it'd be useful if I could just make...

presentModalViewController in landscape after portrait viewController

Hi, I have a main viewController that is in portrait mode all the time. I want then to presentModalViewController, but it will come from the left (not from bottom of the screen) in landscape. Is it possible? tnx ...

How do I specify different layouts for portrait and landscape orientations?

I've seen references to being able to specify two separate layout xml files for an activity, one for Portrait and one for Landscape. I've not been to find any information on how to do that though. How do I specify for each activity which xml file is it's portrait layout and which is the Landscape layout? Is it also possible to speci...

How can change the Portrait mode to Landscape mode and vice versa in Tab Bar view controller?

In my application, I am using Tab bar controller.How to change from Portrait mode to Landscape mode and vice versa? I can change mode with out Tab bar controller by just returning YES in shouldAutorotateToInterfaceOrientation method but when a view consist tab bar it is not working.Please, provide a solution. I am thankful to you? ...

Question about using landscape mode with custom images on the iPhone/iPad

Hey I just had a simple question about implementing landscape mode for an app, particularly running on the iPad (but I am sure the concept holds true for the iPhone). I have a custom background image that I am wanting to use for my root view. I designed the image so that it fits the iPad screen size for portrait mode. Do I need to design...

Portrait orientation only for iPad?

According to apple my application has to be able to run in both portrait modes. How do I accomplish this with shouldAutorotateToInterfaceOrientation?? ...

UISplitView - load different detailView's for each row in masterView

Hello, I'm using UISplitViewController for app on iPad. The first task was to show master and detail view in portrait mode. I have done this like that: // It is possible to keep the Master View in portrait mode // also. Just pass YES to this method to enable this mode. - (id) initWithMasterInPortraitMode:(BOOL) masterInPortrait { s...

Android: Screen Rotation within Activity doesnt switch portrait/landscape layout

I build my Android Application and want do add layouts for different orientations now. I created a layout-land folder and put a different layout for my first Starter Activity "myStartActivity" (with the same name as the layout i used before for both orientations) in there. Depending on my Screen Orientation BEFORE i start the app the ri...

Android orientation issue

I have application which works only in landscape orientation . I set that in xml layout. When I'm starting application it works ok . But when the application is started and next if I lock the phone and then unlock, the application first 1-2 seconds is in portrait mode and then in landscape. Is it possible to skip theese 2 seconds? ...

UITableView disappears when switching from portrait to landscape

hey there, I am creating an app that requires me to add tables in a particular page. The page should be in landscape mode but the application in portrait. I've figured out the switching i.e from portrait to landscape and back to portrait [homepage(portrait) -> tablePage (landscape)] and vice versa. The problem is the table view keeps red...

How to find out if ipad is in landscape/portrait mode in javascript/jquery?

I want to add an extra div if the ipad is in landscape mode. Is there some sort of if statement that could find this out? Thanks ...

Portrait Orientation is losing touch input.

I'm making a universal apps with auto rotation, and I'm only using landscape left and right. When I rotate the iPhone to the portrait down position, I can see what looks like a window underneath the app rotating and I no longer get touch events. In all the shouldAutoRotate functions I'm making sure only return true for landscape, and t...

How to stop going back to Main page when I rotate the Emulator from Portrait to Landscape?

Every time I rotate the Android Emulator from Portrait to Landscape or Landscape to Portrait, it always goes back to the main.xml (home) screen in my app. I'm sure this is an easy code to write in or add. Please let me know how I can keep the screen on the exact page in the app that it's already on when I rotate the emulator. Basically,...