Top "Screen-orientation" questions

Detects whether the screen is in portrait orientation (height > width) or landscape orientation (width > height), and switches between the two.

Flutter: How to set and lock screen orientation on-demand

On one of my flutter pages, I need the screen to set to landscape mode and lock it so it …

flutter screen-orientation device-orientation
Responsive site is zoomed in when flipping between Portrait and Landscape on iPad/iPhone

I've built a responsive site using Twitter Bootstrap here: http://zarin.me/cce/ The responsive design works great on iPad …

orientation responsive-design viewport screen-orientation device-orientation
Alternative iOS layouts for portrait and landscape using just one .xib file

Using interface builder in xcode and just one .xib file, how can I create alternate layouts when rotating between landscape …

ios xcode interface-builder xib screen-orientation
PhoneGap - Forcing Landscape orientation

I started looking into PhoneGap yesterday and created a simple "marble" rolling around while tilting the phone. I am currently …

android cordova screen-orientation screen-rotation
Change screen orientation in Android without reloading the activity

I want to change the orientation programmatically while running my Android App, with these lines of code: setRequestedOrientation(ActivityInfo.SCREEN_…

android screen-orientation
Detect iPad orientation change

How to detect with javascript or jquery when user turns iPad from vertical position to horizontal or from horizontal to …

javascript jquery iphone ipad screen-orientation
Android - Fragment screen rotate

I'have 1 FragmentActivity with a ViewPager which handle 2 Fragments. public class MyFragmentActivity extends FragmentActivity{ private Fragment f1; private Fragment f2; private …

android screen-orientation fragment android-viewpager
Android: Detect Orientation Changed

I need to detect an orientation change in my application, but I don't want my layout to be changed from …

android android-layout screen-orientation
shouldAutorotateToInterfaceOrientation is not working in iOS 6

In iOS 6, shouldAutorotateToInterfaceOrientation is not working, but it worked fine in iOS 5.0 and 5.1. What do I need to change for …

xcode orientation ios6 screen-orientation
shouldAutorotateToInterfaceOrientation doesn't work

I've been writing my Universal application in portrait mode, and now after about 15 nib files, many many viewCotnrollers, I'd like …

iphone xcode ipad uiviewcontroller screen-orientation