Skip to content
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

有DrawerLayout的状态栏没有效果 #14

Open
YiuChoi opened this issue Apr 7, 2016 · 9 comments
Open

有DrawerLayout的状态栏没有效果 #14

YiuChoi opened this issue Apr 7, 2016 · 9 comments
Labels

Comments

@YiuChoi
Copy link

YiuChoi commented Apr 7, 2016

使用StatusBarUtil.setColorNoTranslucentForDrawerLayout()和StatusBarUtil.setColorForDrawerLayout()都没有效果,状态栏一直是默认的颜色,一直是colorPrimary设置的颜色

@laobie laobie added the bug label Apr 7, 2016
@laobie
Copy link
Owner

laobie commented Apr 7, 2016

这是一个bug 近期我会修复一下

@YiuChoi
Copy link
Author

YiuChoi commented Apr 7, 2016

好的,O(∩_∩)O谢谢

@YiuChoi YiuChoi closed this as completed Apr 7, 2016
@laobie laobie reopened this Apr 9, 2016
@laobie
Copy link
Owner

laobie commented Apr 9, 2016

我刚才测试了下,应该是你用了CoordinatorLayout 目前的解决方案的话是在外面套一个LinearLayout,我再看看有没有其他的办法解决这个

@laobie
Copy link
Owner

laobie commented Apr 9, 2016

@YiuChoi
#5 中也是这个问题

@YiuChoi
Copy link
Author

YiuChoi commented Apr 9, 2016

好的,我试试,O(∩_∩)O谢谢

@laobie
Copy link
Owner

laobie commented Apr 9, 2016

@YiuChoi
要是解决了告诉我一下,我再看看有别的方法不

@YiuChoi
Copy link
Author

YiuChoi commented Apr 10, 2016

套一个LinearLayout确实可以解决,完美。还有可不可以在4.4上也把CollapsingToolbarLayout的图片沉浸到状态栏呢

@laobie
Copy link
Owner

laobie commented Apr 10, 2016

@YiuChoi
这个目前还没解决,这个问题我还在看,等我解决了告诉你

@lnl1314abm
Copy link

@YiuChoi 在什么地方加这个LinearLayout呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants