Top "Android-orientation" questions

The orientation of the screen, i.e. landscape (wider than tall) or portrait (taller than wide)

Android Fragments recreated on orientation change

I'm developing an app that basically has an ActionBar. When my app starts, the Activity creates the fragments and attaches …

android android-fragments android-orientation
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 do I preserve the state of a selected spinner/dropdown item on orientation change?

I am using a spinner dropdown in my code , in which I have 4 to 5 dynamically populated values, say if I …

android android-layout android-fragments android-spinner android-orientation
Set orientation to landscape in android on both sides

I am working in an android application in 2.2 and I want to set my application in landscape mode. For that …

android android-orientation
Saving Fragment State on Orientation Change

I'm creating a file manager app for Android, and two classes below are the majority of the logic that goes …

android state fragment android-orientation
Force portrait mode in camera

I am invoking a camera using an intent and clicking a picture. Presently I am on emulator and would like …

android android-camera android-orientation
Orientation Changed Event or Listener Android

Is there any event or listener which fires @ time of orientation changed? or, how to find out that the orientation …

android android-orientation
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 does onLayout and onSizeChanged get called twice on an orientation change?

I've noticed that onLayout and onSizeChanged get called twice in immediate succession after an orientation change, either from landscape->…

android android-layout android-orientation android-configchanges
Retaining list in list fragment on orientation change

I have an app using fragments, all of which are contained in a single activity. The activity starts with a …

android android-listview android-fragments android-orientation