Lock Android MainActivity to portrait #72

Merged
bvandeusen merged 1 commits from dev into main 2026-06-02 08:19:08 -04:00
Owner

Summary

  • Landscape rotation on Android currently just stretches the phone-portrait Compose layout — wide rows of unrelated content, big dead bands top and bottom. Lock MainActivity to portrait via android:screenOrientation="portrait" until a tablet/landscape layout exists.
  • Comment in the manifest notes the revisit condition (sw600dp resource set + multi-pane layouts).

Test plan

  • On device, rotate the phone — UI stays portrait
  • Revisit when a dedicated tablet layout lands
## Summary - Landscape rotation on Android currently just stretches the phone-portrait Compose layout — wide rows of unrelated content, big dead bands top and bottom. Lock `MainActivity` to portrait via `android:screenOrientation="portrait"` until a tablet/landscape layout exists. - Comment in the manifest notes the revisit condition (sw600dp resource set + multi-pane layouts). ## Test plan - [ ] On device, rotate the phone — UI stays portrait - [ ] Revisit when a dedicated tablet layout lands
bvandeusen added 1 commit 2026-06-02 08:19:02 -04:00
chore(android): lock MainActivity to portrait
android / Build + lint + test (push) Successful in 3m39s
b9186937b3
Operator feedback: landscape just stretches the phone-portrait
Compose layout awkwardly — every screen was sized for one column
of cards, so rotation produces wide rows of unrelated content with
big dead bands top and bottom. Until a dedicated tablet/landscape
layout exists, lock the activity to portrait via screenOrientation.

Revisit when a sw600dp resource set + multi-pane layouts land.
bvandeusen merged commit bf2f9f3811 into main 2026-06-02 08:19:08 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/minstrel#72