标签 systembartint 下的文章
300虽然不是很提倡追时髦,但我还是追了,沉浸式状态栏是个很赞的设计,所以做起来也烦了点。
首先依旧是引入库
文件地址我就不再写了,库的地址是:
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
引入之后再Activity类里初始化,必须得在setContentView下方写:
SystemBarTintManager tintManager = new SystemBarTintManager(this);
tintManager.setStatusBarTintEnabled(true);
t...
Android
delay
0 条评论
2016-10-07
androidandroid studioandroid开发沉浸式标题栏systembartint
微信扫描以下二维码,关注我的公众号