I\'ve added a RatingBar in a layout:
How to glue the code given here ...
Step-1. You need your own rating stars in res/drawable ...
res/drawable
Step-2 In res/drawable you need ratingstars.xml as follow ...
ratingstars.xml
Step-3 In res/values you need styles.xml as follow ...
res/values
styles.xml
Step-4 In your layout ...