-
Notifications
You must be signed in to change notification settings - Fork 112
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
自定义布局,background属性无效 #6
Comments
1. Builder有一个统一设置背景色的方法:
这个方法会统一设置 2. 可以通过覆盖 color 来设置背景颜色color.xml,覆盖 以上两种方法,目前会改变默认三种内置布局类型的背景颜色(包括默认布局和自定义布局),自定义类型布局不受影响。 这其实是一个错误,这个方法应该是修改默认三种布局的背景色的。 我会改掉,然后发新版。 感谢发现问题🙏 |
解决问题! |
@Xbigfat 问题已经解决 升级 1.0.3 版本,下面方法只会改变默认布局的背景色。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作者你好!使用 .setEmptyLayout(R.layout.custom_layout) 时,自定义的layout中 background 属性无效,请帮看看是哪里的问题呢?
XML:
`
`
这里设置了橘色的背景布局,但在App中不是橘色。
The text was updated successfully, but these errors were encountered: