chapp007 wrote: > I am trying to put a RatingBar in a ListView with some text to the > left. I need the RatingBar to be small and read-only. I have looked in > the R.attr class and there seems to be a ratingBarStyleSmall > attribute. I have no idea how to set this attribute.
It's a style, not an attribute, despite appearing in R.attr. Try adding style="?android:attr/ratingBarStyleSmall" to your RatingBar in the XML. You can see an example of this in ApiDemos/res/layout/ratingbar_1.xml, in the samples/ folder of your SDK installation. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

