Skip to content

修复:Android edge-to-edge 下手势导航区域(小白条)背景异常 - #283

Open
byte78 wants to merge 5 commits into
appshubcc:mainfrom
byte78:fix-android-navigation-bar-background
Open

修复:Android edge-to-edge 下手势导航区域(小白条)背景异常#283
byte78 wants to merge 5 commits into
appshubcc:mainfrom
byte78:fix-android-navigation-bar-background

Conversation

@byte78

@byte78 byte78 commented Jul 18, 2026

Copy link
Copy Markdown

问题

Android 使用手势导航时,底部手势条所在区域显示为白色背景。在应用深色模式下尤为突兀,无法与页面背景自然融合。

修改

  • 正确启用 Android edge-to-edge 模式
  • 移除无效的 AnnotatedRegion<SystemUiMode> 配置
  • 将系统导航栏及分隔线设置为透明
  • 关闭导航栏对比度背景
  • 在系统手势区域后绘制当前主题的 surface 背景
  • 根据应用亮暗主题调整系统栏图标亮度

@appshubcc
appshubcc force-pushed the main branch 3 times, most recently from bb605a0 to 570c649 Compare July 18, 2026 17:07
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 95bde57 to c0bb574 Compare August 13, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants