Tuesday, June 8, 2010

Sample Rating Bar Implementation

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"

1 comment:

  1. This is nice post!!! Here i had got another link which much explore about the ratingbar in android application, you may check it by clicking on the following link...