Blankj/AndroidUtilCode

api 35编译版本已移除navigationBarBackground、statusBarBackground

Open

#1.826 aberto em 18 de dez. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)Java (10.654 forks)batch import
help wanted

Métricas do repositório

Stars
 (33.679 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

描述需求

api 35编译版本已移除navigationBarBackground、statusBarBackground,需要适配没有这两个View存在时的系统栏目判断与高度获取了

可借鉴的

官方建议将View.setFitsSystemWindows(true),可以看一下还是有其他方案获取系统栏可见性与高度吗?

Guia do colaborador