you can make the custom rating bar
1 just make the xml file in your drawable folder and name it rating_bar.xml
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background" android:drawable="@drawable/rating_empty" />
<item android:id="@android:id/secondaryProgress" android:drawable="@drawable/rating_empty" />
<item android:id="@android:id/progress" android:drawable="@drawable/rating_filled" />
</layer-list>
2 make the another drawable xml file and name it rating_empty.xml
<item android:state_pressed="true"
android:state_window_focused="true"
android:drawable="@drawable/ic_unrated_star" />
<item android:state_focused="true"
android:state_window_focused="true"
android:drawable="@drawable/ic_unrated_star" />
<item android:state_selected="true"
android:state_window_focused="true"
android:drawable="@drawable/ic_unrated_star" />
<item android:drawable="@drawable/ic_unrated_star" />
3 make anothe drawable xml file for filled star and name it rating_filled.xml
<item android:state_pressed="true"
android:state_window_focused="true"
android:drawable="@drawable/ic_rated_star" />
<item android:state_focused="true"
android:state_window_focused="true"
android:drawable="@drawable/ic_rated_star" />
<item android:state_selected="true"
android:state_window_focused="true"
android:drawable="@drawable/ic_rated_star" />
<item android:drawable="@drawable/ic_rated_star" />
4 goto your values folder and open style.xml and add the style
<style name="customRatingBar" parent="@android:style/Widget.RatingBar">
<item name="android:progressDrawable">@drawable/rating_bar</item>
</style>
5 just use the custom rating bar, which you have just created
<RatingBar
style="@style/customRatingBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:numStars="5" />
Note: ic_rated_star and ic_unrated_star are the completly filled star and empty star image , which you want to show in your rating bar.
Hope this worked for you... best of luck...