Top "Screen-orientation" questions

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

Disable and enable orientation changes in an activity in Android programatically

I have an App that make some background staff. When the background work is running a progress Circle is shown, …

android android-activity rotation screen-orientation android-orientation
How to deal with apps that force screen orientation in android-x86 on VirtualBox?

If you've used an Android device, you're aware that there are some apps that force the display to portrait and …

android orientation virtualbox screen-orientation android-x86
In AndroidManifest: Expecting android:screenOrientation="unspecified"

Android Studio 3.6. I want my app to be always in portrait mode. So in my AndroidMainfest.xml: <activity android:…

android android-manifest screen-orientation
Activity in portrait or reverse portrait only

I want my activity to be available only in both portrait modes - portrait and reversePortrait. How can I achieve …

android android-layout screen-orientation
How to make my app look the same in all devices?

I'm newly on android development and i build an app on android studio and i want to make my app …

android layout screen-orientation screen-size android-screen-support
Android - Dealing with a Dialog on Screen Orientation change

I am overriding the onCreateDialog and onPrepareDialog methods or the Dialog class. I have followed the example from Reto Meier's …

android dialog screen-orientation null-pointer
MPMoviePlayerController fullscreen quirk in iPad

I want to show a MPMoviePlayerController in a view controller and let the user toggle full screen with the default …

ipad fullscreen mpmovieplayercontroller statusbar screen-orientation
How do I use a service to monitor Orientation change in Android

I'm writing a Widget that will display a countdown timer. I have the widget working the way I want it …

android service android-widget screen-orientation
iPhone - UIWindow rotating depending on current orientation?

I am adding an additional UIWindow to my app. My main window rotates correctly, but this additional window I have …

iphone objective-c screen-orientation uiwindow
How to fix screen orientation to portrait for my whole PhoneGap app

How to configure the Phonegap app to be fixed to only portrait mode, I there any possibility to do it …

iphone android cordova screen-orientation