public static final class RatingAppearance.Builder
extends java.lang.Object
RatingAppearance.| Constructor and Description |
|---|
Builder()
Creates a new
RatingAppearance.Builder
for constructing a RatingAppearance |
| Modifier and Type | Method and Description |
|---|---|
RatingAppearance |
build()
Constructs a
RatingAppearance
with the specified appearance values. |
RatingAppearance.Builder |
setBackgroundStarColor(int backgroundStarColor)
Returns Rating appearance configured with background star color.
|
RatingAppearance.Builder |
setProgressStarColor(int progressStarColor)
Returns Rating appearance configured with progress star color.
|
public Builder()
RatingAppearance.Builder
for constructing a RatingAppearance@NonNull public RatingAppearance build()
RatingAppearance
with the specified appearance values.RatingAppearance.@NonNull public RatingAppearance.Builder setBackgroundStarColor(int backgroundStarColor)
backgroundStarColor - Rating background star color.@NonNull public RatingAppearance.Builder setProgressStarColor(int progressStarColor)
progressStarColor - Rating progress star color.