A RatingBar is an extension of SeekBar and ProgressBar that shows a rating in stars.
The user can touch/drag or use arrow keys to set the rating when using the default size RatingBar.
The smaller RatingBar style and
the larger indicator-only style do not support user interaction and should only be used as indicators.
larger indicator-only - style="?android:attr/ratingBarStyleIndicator"
smaller RatingBar - style="?android:attr/ratingBarStyleSmall"
Default - style="?android:attr/ratingBarStyle"
The user can touch/drag or use arrow keys to set the rating when using the default size RatingBar.
The smaller RatingBar style and
the larger indicator-only style do not support user interaction and should only be used as indicators.
larger indicator-only - style="?android:attr/ratingBarStyleIndicator"
smaller RatingBar - style="?android:attr/ratingBarStyleSmall"
Default - style="?android:attr/ratingBarStyle"
No comments:
Post a Comment