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

MaterialRatingBar中心是空心的问题 #7

Closed
zzh1026 opened this issue Mar 2, 2017 · 3 comments
Closed

MaterialRatingBar中心是空心的问题 #7

zzh1026 opened this issue Mar 2, 2017 · 3 comments
Assignees
Labels

Comments

@zzh1026
Copy link

zzh1026 commented Mar 2, 2017

大神您好,原生的RatingBar位选中的star中心可以填充, 但是使用MaterialRatingBar后star中心是空心的,并且不能修改,未选中的星星需要是实心全白的,但是只能改变star边缘的颜色是怎么回事??? 还有请问原生的RatingBar点击状态为啥外围又一层类似于光圈的东西? 我用的是sdk23

@zhanghai zhanghai self-assigned this Mar 2, 2017
@zhanghai
Copy link
Owner

zhanghai commented Mar 2, 2017

空心是设计问题——我认为(以及 Google 的应用也采用了)空心的设计更加符合 Material Design,而框架提供的不够美观/符合规范。
参考项目 README 可以看到改变不同状态星星颜色的方式。
如果你想采用的不是 Material Design,可能需要考虑使用其他库。

@zzh1026
Copy link
Author

zzh1026 commented Mar 2, 2017

谢谢您的回答,我知道了

@zhanghai
Copy link
Owner

zhanghai commented Sep 26, 2017

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

2 participants