Redesign of all resizeable screens#21169
Conversation
|
Important Maintainers: This PR contains Strings changes
|
Move all split-pane layouts (note editor, card browser, card template editor, deck picker) from layout-sw600dp to layout-w840dp, switching from smallest-width to current-width qualifier and raising the threshold to the Material 'expanded' window size class (840 dp). This prevents split panes from activating on smaller 7-8 inch tablets, especially in portrait mode, where the two panes are too narrow to be usable. Fixes ankidroid#21010
94cc488 to
b6939ac
Compare
|
Snapshot diff report vs
All 1 changed screenshotsPreferencesScreenshotTest
|
Since we have a toggle, why not disable it by default and keep the current screen size bound? Current users who like this feature would be upset if it was removed because of the new size requirement. |
Add a 'Split view' toggle under Settings > Appearance > Layout. Defaults to on. When turned off, all split panes (note editor, card browser, card template editor, deck picker) are disabled and the screens behave as single-pane regardless of display size. This gives users on large screens the option to opt out of the side-by-side layout entirely. Assisted-by: Claude Opus 4.6
|
As it stands, we couldn't cherry-pick this into 2.24.1 (.1 should only contain bugfixes), could you split this PR into two:
I don't feel When we make this change, there should be justification on why we selected it, so future develoeprs have context if they wish to change this value in future EDIT: We should also consider tall phones, and whether this would push them into landscape mode. |
|
I still prefer this as a |
Purpose / Description
A sizable group of users have complained about the following:
Fixes
Approach
How Has This Been Tested?
Screen_recording_20260529_035826.webm
Checklist
Please, go through these checks before submitting the PR.