-
Notifications
You must be signed in to change notification settings - Fork 528
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
MaterialDialog里content内容太长挡住按钮,怎么解决? #37
Comments
MaterialDialog既然不满足,那就自己写xml布局,自定义一个Dialog,很容易的~ |
我就问问楼主有没有做这方面的实现,没有的话我就自定义或修改一下。 |
没有,修改的话稍微麻烦~以前布局都是代码写的。 |
楼主可以优化一下 MaterialDialog 的源码,加上以下两句代码,设置 content内容 最大显示8行,显示不全可上下滑动,这样就可以解决上面所提的问题了。 mTvContent.setMaxLines(8); 或者,用户自己可以自定义一个 MaterialDialog ,将源码copy过来后,加上上面两句代码即可。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用MaterialDialog时,里面的content内容太长挡住按钮,也不能滑动,怎么解决?
The text was updated successfully, but these errors were encountered: