Material Design RatingBar with better appearance, compatible with Android 3.0+.
Why MaterialRatingBar?
- Consistent appearance on Android 3.0+.
- Extends framework RatingBar.
- Get the 2dp star border background as in Material Icons and Google apps.
- Correct custom tinting across platforms.
- Able to render correctly when layout_width is set to match_parent, as in Google Play Store.
- Able to scale correctly when layout_height is set to values other than 16dp, 36dp and 48dp.
- Able to display ratings such as 4.3 correctly, which will be filled to 4.5 by framework's incorrect implementation.
- Avoid framework's sunken half star visual glitch.
- Used as a drop-in replacement for framework RatingBar.
https://github.com/DreaminginCodeZH/MaterialRatingBar
材料设计的RatingBar,更美观,与Android 3.0+兼容。
为什么MaterialRatingBar?
- 在Android 3.0以上版本一致的外观。
- 扩展框架的RatingBar。
- 获取2DP星级边框背景作为材质图标和谷歌应用程序。
- 跨平台的正确的自定义着色。
- 能当layout_width设置为match_parent正确地呈现,如谷歌Play商店。
- 能当layout_height设置为比16DP,36dp和48dp其他值正常规模。
- 能够显示等级,如4.3正确,这将是框架的实施不正确填写至4.5。
- 避免框架的下沉式半星的视觉干扰。
- 用作下拉更换为框架的RatingBar。
https://github.com/DreaminginCodeZH/MaterialRatingBar