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. I have tried

        <RatingBar android:id="@+id/rating"
android:layout_width="wrap_content"
                android:layout_height="wrap_content" ratingBarStyleSmall="true" 
/>

and I have also tried declaring a String resource with the hex value
that is described in the javadoc(this is the page I am referring to:
http://code.google.com/android/reference/android/R.attr.html#ratingBarStyleSmall).

It seems like setting an attribute on an object should be a trivial
thing but I have spent almost two days trying to figure this out.

Thanks for your time,

Josh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to