Skip to content

chore(android): lock the app to portrait orientation#38

Merged
netqo merged 1 commit into
devfrom
chore/portrait-orientation
Jun 13, 2026
Merged

chore(android): lock the app to portrait orientation#38
netqo merged 1 commit into
devfrom
chore/portrait-orientation

Conversation

@netqo

@netqo netqo commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

Pins MainActivity with android:screenOrientation="portrait" so the app no longer rotates into landscape.

Rationale

Every screen is designed and laid out for a portrait phone; landscape was never a supported layout. Locking the launcher (single) activity is the simplest, global way to enforce it.

Verification

  • ./gradlew assembleDebug -> BUILD SUCCESSFUL
  • On device: rotating the phone no longer rotates the app; it stays portrait.

Test plan

  • Debug APK assembles
  • Manual device check: app stays portrait when the phone is rotated

Checklist

  • Commit messages follow Conventional Commits (see CONTRIBUTING.md).
  • Branch name follows the naming convention (chore/).
  • The change is scoped: manifest only.
  • If user-visible behavior changed, CHANGELOG.md has been updated under [Unreleased]. (One-line manifest config; left out of the changelog to avoid a churn conflict with the in-flight feature PR.)
  • If a new dependency was added, it is justified in the PR description. (No new dependency.)

The casino UI is designed and laid out for a portrait phone, so pin
MainActivity with android:screenOrientation="portrait" to stop the
screens from rotating into landscape.
@netqo netqo merged commit 4be1210 into dev Jun 13, 2026
3 checks passed
@netqo netqo deleted the chore/portrait-orientation branch June 13, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant