ratingbar
How to allow full values (integers) only in ratingbars?
Should be able to use setStepSize() and use a 1.0 to allow increments of 1 star instead of 0.5 for half stars Here is the docs on it.
Android: Change color of ratingbar to golden [duplicate]
This option is now included in the AppCompat library. The AppCompat version of the RatingBar is used automatically. http://developer.android.com/reference/android/support/v7/widget/AppCompatRatingBar.html Example (from my own app): <RatingBar android:id=”@+id/rating” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:numStars=”5″ android:stepSize=”1″ android:theme=”@style/RatingBar”/> With theme: <style name=”RatingBar” parent=”Theme.AppCompat”> <item name=”colorControlNormal”>@color/lightGrey</item> <item name=”colorControlActivated”>@color/duskYellow</item> </style>
android – How to set the Rating bar is non clickable and touchable in HTC mobile
You could also set the RatingBar as indicator from the xml with the following: android:isIndicator=”true”