开发者

Need help to use Rating bar

I want to use rating bar in my android application.

My game has 10 levels I want to show the stars according to the score/time user scored per level. A screen will have 10 images for each level and 10 rating bars also. Can开发者_运维知识库 any one help me with this. Please tell me the most effective solution for this problem.

There are 10 rating bars on a screen. Each independent of other.


I hope you have gone through the Google-developer documentation

You can use,

<RatingBar   android:id="@+id/my_rating_bar"           
 ...             
style="@style/foodRatingBar" /> 

This link will help you definetely, I have used this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜