【文件属性】:
文件名称:Android代码-动态改变状态栏颜色
文件大小:1.09MB
文件格式:ZIP
更新时间:2022-08-26 01:43:42
Android代码
StatusBarColorCompat
Change the StatusBarColor dynamically, works on Android 4.4 .
简单优雅地动态改变状态栏颜色,支持安卓4.4 。
Screenshots
The left part is KITKAT, and right is LOLLIPOP. 左边是4.4,右边是5.0 。
Sample APK
StatusBarColorCompat.apk
Usage
Just copy the StatusBarColorCompat.java in your project
Use StatusBarColorCompat.setContentViewWithStatusBarColorByColorPrimaryDark(Activity activity, int layoutResID)
instead of
Activity.setContentView(int layoutResID)
StatusBarColorCompat will fetch the colorPri
【文件预览】:
StatusBarColorCompat-master
----.gitattributes(378B)
----StatusBarColorCompat()
--------src()
--------AndroidManifest.xml(1KB)
--------res()
----GIF.gif(1.05MB)
----StatusBarColorCompat.apk(31KB)
----README.md(3KB)