GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BytesZero/AndroidBarUtils: Android 沉浸式(透明)状态栏细研,掘金文章:https://juejin.cn/post/6953176472534122504

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
apk
apk
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
images
images
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

AndroidBarUtils

Android 透明(沉浸式)状态栏细研

Build Status

实现的功能

  • 透明状态栏(非半透明状态栏,个别机型无法适配全透明)
  • 动态改变ToolBar或者自定义的TitleBar颜色,修改背景色即可,不需要动态改变状态栏颜色
  • 状态栏主题模式(黑白色)切换
  • 修复 DrawerLayout 在 4.4 上白边的问题
  • 适配“刘海屏”状态栏
  • 导航栏实现个人认为美观并通配的配色
系统 导航栏配色方案
4.4 黑色
5.0~7.0 1/4透明黑底色+白色导航
8.0及以上 白底+灰色导航主题

未来可能会去实现的功能

  • 动态改变导航栏颜色(5.0及以上可以自己修改实现,目前是写死的配色方案)
  • 状态栏和导航栏主题模式设置分离

预览效果(均为模拟器测试)

  • Android 9.0 gif

Android 9.0 gif

效果图

以上效果均为模拟器测试,如果你的真机测试有问题,请发给我并附上效果图和机型。

使用方式

查看 wiki

下载 APK 测试

AndroidBarUtils APK

About

Android 沉浸式(透明)状态栏细研,掘金文章:https://juejin.cn/post/6953176472534122504

Topics

androiddrawerlayoutnavigationbarstatusbar

Resources

Readme
Apache-2.0 license
Activity

Stars

46 stars

Watchers

3 watching

Forks

24 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.