# zhanghai/MaterialRatingBar

Material Design RatingBar with better appearance

Repository: https://github.com/zhanghai/MaterialRatingBar
Canonical: https://ross.abutalabs.com/products/materialratingbar
Language: Java
License Family: other
Topics: android, android-library, material-design, rating-bar
Last push: 2019-12-06T08:47:10+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3603, "days_push": 2462, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1961, forks 198 (observed 2026-08-28T04:05:59.543334+00:00)

## What it is
MaterialRatingBar is an Android UI library providing a Material Design RatingBar with a more consistent and correct appearance than the framework widget, compatible with Android 3.0+. It extends the framework RatingBar and works as a drop-in replacement with proper tinting, sizing, and fractional rating support.

## Use cases
- display star ratings consistently across Android versions
- replace the framework RatingBar with a Material Design version
- show fractional ratings like 4.3 correctly
- render a rating bar that fills match_parent width like Google Play Store
- customize star tint colors
- get drag callbacks while the user changes a rating

## When to choose
- you need a Material-styled rating bar on older Android versions
- the framework RatingBar shows visual glitches or incorrect half stars
- you want a drop-in replacement with minimal code changes

## When to avoid
- you are not building an Android app
- you need a rating control outside the Material Design language
- you require actively developed features beyond maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components
- domain: mobile-development, android-tools
- platform: -
- tags: material-design, rating-bar, android-library, drop-in-replacement, android

## Member repositories
- zhanghai/MaterialRatingBar (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.543334+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:05:40.574487+00:00, confidence not recorded.
  - readme: https://github.com/zhanghai/MaterialRatingBar (fetched 2026-08-28T04:05:59.543334+00:00, sha 494ca8c1fa96)
- Data as of 2026-08-30T08:39:29.467469+00:00.
