zhanghai / zhanghai/MaterialFiles
[Info] A tip for a better layout on foldable phones
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I'm a foldable phone user and I love your app.
I'm writing this not as a demand for a change, but to share a helpful tip with the community.
For those who feel the file view is too wide on a foldable's inner screen, you can achieve a much cleaner look. I recommend creating a modified version of the app where the layout directory app/src/main/res/layout-sw600dp-land is renamed to app/src/main/res/layout-sw600dp.
This forces the app to use the standard tablet layout, which is much more suitable for a simple file list.
Of course, if the developer thinks this is a beneficial change for everyone, that would be amazing. But for now, I hope this helps other foldable users.
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare app/src/main/res/layout-sw600dp-land with app/src/main/res/layout-sw600dp and inspect how the file view is selected on foldable inner screens. Determine whether using the standard tablet layout is appropriate; done when the intended layout behavior is agreed and the relevant resource structure reflects that decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100