New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toolbar被覆盖了statusbar的位置 #12
Comments
等我这几天有空测试下,如果修复了这个bug我会通知你的 : ) |
不知道是不是同样的问题,应该说是content没有给 StatusBar 腾出位置。 软件 StatusBarUtil.apk 正常,不知道是代码哪里的问题。 小魅蓝,FlymeOS 4.2.1.2C,Android 4.4.4 |
@Aysnine |
@BelongsH |
@Aysnine 你看看你是不是也是这个问题 |
@laobie 可行,StatusBar 的位置出现,但是颜色不对,设置的和 Toolbar 一样的颜色,但是变色了,偏紫。 侧滑出的 Drawer 没问题,上方正常透明。 捉急,原谅我上不了图|・ω・`) |
@Aysnine 那个不是偏紫色,那个是一个透明度遮罩,如果是纯色不加遮罩的话你可以用另外一个方法,你看我给你的截图,或者看源码有注释的。 按照你的需求,你需要的是第二个方法 |
@laobie 真•偏紫,试过 NoTranslucent ,Serious,浅蓝加遮罩会紫?不信你看看 gmail (:з」∠) |
出现的问题:toolbar被覆盖了statusbar的位置,米3, Sys:6.1
xml:
java:
@OverRide
public void setStatusBar() {
StatusBarUtils.setTranslucentForDrawerLayout(this, dl_main, 0);
}
The text was updated successfully, but these errors were encountered: