Top "Screen-orientation" questions

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

Android: Efficient Screen Rotation Handling

In Android, when the screen orientation changes (between landscape and portrait) the onCreate method is called which ,if not handled …

android rotation screen screen-orientation orientation-changes
Get phone orientation but fix screen orientation to portrait

I want to get the phone orientation but keep the screen orientation to portrait. So no matter the user turns …

android screen-orientation orientation-changes
Android: Get current device orientation

I have the activity orientation in manifest set as portrait. As i dont want my screen to rotate. But On …

android screen-orientation android-orientation device-orientation
Why doesn't my Cordova/PhoneGap iOS app rotate when the device rotates?

I am trying to make a landscape only app, but I am not able to produce any rotation at all. …

ios cordova screen-orientation
Can I determine if a device is in portrait or landscape mode using jquery?

I want to conditionally alter what the user sees on the photo gallery web site I'm going to create based …

javascript jquery jquery-mobile screen-orientation landscape-portrait
Webview resizes automatically to portrait and landscape view in iphone

I am new to iphone development.In my app, i want to display the web view in device with c …

iphone uiwebview landscape screen-orientation
Converting code from Java to Kotlin in Android Studio

Can anyone explain how to replace existing Java code with Kotlin within Android Studio?

java android android-studio kotlin screen-orientation
VideoView & Fullscreen & Orientation changes - Android

I implemented a e-Reader that has embedded video players on it, I need a option to toggle fullscreen mode from …

android screen-orientation android-video-player orientation-changes android-orientation
Javascript screen orientation on safari

I'm trying to make a responsive web site and it is almost finished, but I need a hand. I'm using …

javascript iphone safari screen-orientation
android:screenOrientation tag in application does not work

The android:screenOrientation tag when placed in <application> does not work. But when I put android:screenOrientation in …

android screen-orientation