Repository navigation
Improve phone landscape settings and connection layout - #9
Merged
Merged
Conversation
ZedingZhang
marked this pull request as ready for review
October 4, 2026 16:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
手机横屏的主设置与连接设置仍把多数分组铺满整行,页头和说明占据较多高度,导致首屏可用操作少。
短窗口至少 600dp 宽时,主设置的短分组改为两列,显示及展开的高级设置保留宽区域,连续开关并排。连接页左侧放连接方式和热点设置,右侧放配对与连接操作;选择手机/权限、无线/USB 按钮并排,只展示当前连接方式的说明。页名放入固定顶栏,减少重复的大标题。按钮保留至少 48dp 触摸目标,字体可换行。
竖屏、窄窗口与车机尺寸沿用原有布局。保存、取消、热点验证与重连行为保持既有逻辑;三指仍进入统一主设置页。此前撤回的旋转/语言更改未引入,PR #6 排查分支未引入。
验证:
b5e1fa738c5811607d7ac3ae3ccfbd1705238cec与当前 PR 一致。核验包名、版本、签名、ARM64、运行身份字节及新布局 DEX 标记;三指入口仍调用主设置页。DiPlay-0.2.11-phone-settings-test.apk,版本0.2.11-phone-settings-hud-test (30),48,690,119 字节,SHA-256:3206c2702e013fca4420b67b0cc7613b563c4b8c0dece1d8975589da3b13448b。本次调试签名不同,安装前记录设置,卸载旧 DiPlay HUD Test 后再安装;卸载会清除测试应用数据。新测试包已在小米 Mi 10 / Android 11 实机复测通过,两页横屏布局符合预期。步骤见
docs/TESTING.md。四项手机修复和统一设置入口的现有回归继续通过;Wi-Fi Direct 专项连接失败仍未在本次修复中解决。