Im having the same problem..has any one find any solution?? On Sunday, October 31, 2010 10:33:10 AM UTC+5:30, abangkis wrote: > > Hello, > > I have a gridview with an image an a rating bar for each item. I was > following this article > http://kozyr.zydako.net/2010/05/23/pretty-ratingbar/ . It's great I've > managed to do the thing in the article and create my own gold colored > rating bar. But now I'm facing two problem. > > First, In one of my activity i need to do the layout programatically , > using the default style creating the Rating bar this way : > > RatingBar rb = new RatingBar(this,null, > android.R.attr.ratingBarStyleSmall); > > would work just fine, but if i change the style to use my own custom style > > RatingBar rb = new RatingBar(this,null, R.style.goldRatingBarSmall); > > the rating bar just wouldn't show. > > And second, although it works very well with android 1.6 , when i test > with 2.1 and 2.2 the small rating bar that supposed to be read only now is > change-able. And also when i click the image in the gridview, nothing > happens. When i change the style back to the original style, everything > works fine. When i click the image, it will go to the next activity in my > apllication. > > Can anyone helps ? Thanks in Advance. > > Abangkis > > -- > http://www.mreunion-labs.net/ > twitter : @mreunionlabs > blog : mreunion.wordpress.com > Follow our android survey at : > http://www.mreunion-labs.net/downloads:dlapk/MySurvey.apk >
-- 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