If you are referring to eclair, this could be related to http://code.google.com/p/android/issues/detail?id=2324 Emulator displays fine ratingbar stars, but not on actual HD devices such as Nexus and Droid - where it over-scales stars and affects overall formatting. On some other devices where eclair is running some updated build version, problem seems to have been resolved.
Seems to be a platform issue, so I guess user will need to wait for an update from Google or his device vendor, and doubt if vendor would even be aware of this issue. Unfortunately, there are discrepancies with what emulator displays and what actually appears on devices. So developers using ratingbar/stars should avoid using if possible or firstly test on target actual devices. George HI, > > When i use the rating bar, the same on HTC have no issue when > displayed. But the same code on Droid makes the Stars cut-off. Please > let me know what could be the issue > > Below is the piece of my layout code: > > <RatingBar > android:id="@+id/ratingbar2" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:numStars="5" > style="?android:attr/ratingBarStyle" > android:stepSize="1.0"/> > > Regards, > Sandeep > > -- > 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 > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en