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

对FragmentLayout 和 ImageButton 使用 backgroundColor 属性报异常 #234

Closed
RebortY opened this Issue Sep 19, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@RebortY

RebortY commented Sep 19, 2015

在api 文档中FragmentLayout 和 ImageButton 都是集成与view , roboBinding 支持View 中的 background, 和 backgroundColor 的属性绑定,但是使用后,报如下异常

backgroundColor: Unrecognized attribute 'backgroundColor'

@weicheng113

This comment has been minimized.

Member

weicheng113 commented Sep 19, 2015

不好意思,这部分文档忘记更新。实际只剩三个特殊的attributes:

  • @prop visibility; Boolean, Integer; no
  • @prop layouMargin; Integer; no
  • @prop padding; Integer; no

其它的都自己要用的时候声明一下即可。看这里的定义:
https://github.com/RoboBinding/RoboBinding/blob/develop/framework/src/main/java/org/robobinding/widget/view/ViewBindingForView.java

@RebortY

This comment has been minimized.

RebortY commented Sep 20, 2015

好的,谢谢

@weicheng113 weicheng113 added this to the v0.8.11 milestone Oct 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment