I'm trying to create an android application where one of the activities has a rating bar. Is there a way to make a Rating Bar a view only so that the user will not be able to modify it?
Yes, just call setIsIndicator(true)
http://developer.android.com/reference/android/widget/RatingBar.html#setIsIndicator(boolean)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.