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

崩溃了 #28

Open
HYVincent opened this issue Dec 3, 2016 · 1 comment
Open

崩溃了 #28

HYVincent opened this issue Dec 3, 2016 · 1 comment

Comments

@HYVincent
Copy link

看到你的这个app还不错,就下载源码编译运行了一下,我发现在我的手机上崩溃了,log我忘记是啥(好像是xml加载异常),就是你的 com.codeest.geeknews.ui.zhihu.activity.ZhihuDetailActivity布局里面的16行导包错了吧,你是引入的
net.opacapp.multilinecollapsingtoolbar.CollapsingToolbarLayout 这个在我的手机(华为荣耀V8 KNT-AL20 正式版KNT-AL20C00B160 EMUI4.0)上会崩溃,把这个包改为android.support.design.widget.CollapsingToolbarLayout就正常了,

@codeestX
Copy link
Owner

codeestX commented Dec 3, 2016

@HYVincent Hello, 这个导包是引入了multiline-collapsingtoolbar这个库,目的是使CollapsingToolbarLayout支持多行显示,原生控件只能显示单行,可能这个库在部分手机上兼容性有问题

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

No branches or pull requests

2 participants