Hello all i need to perform Ratings in my application… SO i need to create custom Ratings bar… Can Anyone Help me in this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
styles.xml
This must be located in your values folder
food_rating_bar_full.xml
This file must be in Drawable folder.
food_ratingbar_full_empty.xml
This file must be inside Drawable folder.
food_ratingbar_full_filled.xml
This file must be located in Drawable folder.
main.xml file should look like :
MainActivity.class should look like :
I have used two images:
cookie.jpg
cookiee.jpg
This two images are of same size one is used for identifying selected Rating Bar and other for identifying unselected RatingBar