Skip to content

Conversation

@Haz3-jolt
Copy link
Member

@Haz3-jolt Haz3-jolt commented Jan 1, 2026

Purpose / Description

  • Introduces multi-pane screens to foldables

Fixes

Approach

  • Moved the layouts for all multi-pane screens to res\layout-sw600dp directory
  • All multi-pane screens need no code changes

How Has This Been Tested?

Pixel 9 Pro Fold Emulator (API 36)

Homescreen:
image

CardBrowser:
image

CardTemplateEditor:
image

NoteEditor:
image

video test:
https://github.com/user-attachments/assets/906dc1c2-d334-4751-b54d-1172aec7c0be

Learning (optional, can help others)

  • Had to research what layout configuration foldables fall into, they fall under sw600dp

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

Copy link
Member

@BrayanDSO BrayanDSO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why duplicating the layouts? Moving them from layout-xlarge to layout-sw600dp should work

@BrayanDSO BrayanDSO added the Needs Author Reply Waiting for a reply from the original author label Jan 2, 2026
- Moved the layouts for all multi-pane screens to res\layout-sw600dp directory
@Haz3-jolt
Copy link
Member Author

why duplicating the layouts? Moving them from layout-xlarge to layout-sw600dp should work

Yep your right! Thanks for the catch!

@Haz3-jolt Haz3-jolt requested a review from BrayanDSO January 3, 2026 11:34
@Haz3-jolt Haz3-jolt removed the Needs Author Reply Waiting for a reply from the original author label Jan 3, 2026
@BrayanDSO BrayanDSO added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Second Approval Has one approval, one more approval to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add multi-pane screen support in foldables

2 participants