laobie / StatusBarUtil

A util for setting status bar style on Android App.
http://t.cn/Rq746Kb
Apache License 2.0
8.81k stars 1.72k forks source link

StatusBarUtil.setTranslucentForImageViewInFragment 传入第二个参数传递,报错 #115

Closed liu-xinhui closed 7 years ago

liu-xinhui commented 7 years ago

image image image 第二个参数不传递没有问题,但是view也会跟着banner上移到状态栏,加上就会报错

liu-xinhui commented 7 years ago

设置完StatusBarUtil.setColor(this, ContextCompat.getColor(this, R.color.colorPrimary)); 又设置一次StatusBarUtil.setTranslucentForImageViewInFragment(activity, searchLayout);导致