Top "Orientation" questions

Orientation is the way up, down, left or right something is facing or being held in.

Android - How to approach fall detection algorithm

I want to be able to feature a fairly simple fall detection algorithm in my application. At the moment in …

android orientation detection accelerometer sensors
setting screenOrientation in AndroidManifest.xml does not work

I have a simple hello world Android testing project. In my AndroidManifest.xml, I already set android:screenOrientation="portrait" android:…

android xml android-activity orientation landscape-portrait
Android Device onConfigurationChanged event does not handling orientation

i have an activity and on startup of the activity i need to change the orientation in lanscape and then …

android configuration orientation landscape portrait
Save the position of scrollview when the orientation changes

These is my layout: I need to save the scrolling position when the orientation changes. for example if the screen …

android android-layout orientation
android: how do i preserve the data in my arrayadapter/listview when change orientation?

as above, is it done automatically? My list was empty once the orientation chMYanges? and nope, i need the orientation …

android listview orientation listadapter
How to set the default orientation in iOS Simulator

I always test the iOS app on iOS Simulator in portrait orientation. But I did't know what I change, it …

xcode ios-simulator orientation
Strange behavior with android orientation sensor

Currently, I'm trying to rotate 3D Cube using orientation sensor values, using getRotation() method. Some unexpected behaviors are observed when …

android rotation orientation accelerometer sensors
View layout doesn't refresh on orientation change in android

I'd like my VIEW layout to be adjusted on orientation change. My Manifest is set up with: android:configChanges="keyboardHidden|…

android view rotation orientation onconfigurationchanged
Python- How to make colorbar orientation horizontal?

So I have a plot with a basemap, a colormesh on top, and a colorbar set to cbar. I want …

python matplotlib orientation colorbar
How to get NEW width/height of root layout in onConfigurationChanged?

One of our views has a ScrollView as its root layout. When the device is rotated and onConfigurationChanged() is called, …

android orientation scrollview onconfigurationchanged