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.
<RatingBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
2. Compile and run!
Next Recommended Article: android:id - How to Name a Rating Bar, in XML
Resources:
http://developer.android.com/reference/android/widget/RatingBar.html