freezy / freezy/android-xbmcremote

Forcing portrait orientation when device is "upside=down"

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
364
Forks
247
PR merge metrics
No merged PRs in 30d

Description

On my Sony Tablet S, what the device thinks is "right side up" is the exact opposite of what _I_ think is right side up. Consequently, using this setting for an activity:

```
android:screenOrientation="portrait"
```

causes the activity to appear upside-down to me. But simply changing the manifest to use:

```
android:screenOrientation="sensorPortrait"
```

instead will fix the problem. It will still force the activity in portrait mode, but allows the device to be used "upside-down" as well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the Android activity manifest declarations related to screen orientation. Verify the current portrait setting and change it to the sensor-aware portrait behavior described in the issue; done means the activity remains portrait while allowing upside-down use on affected devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.