2

This is very frustating.I have made a custom rating bar with the help of this link: http://kozyr.zydako.net/2010/05/23/pretty-ratingbar/

And now when I look with various screen sizes to check enter image description herethe rating bar..It shows me very strange view.I have to use this rating bar in various hence I can not make layouts for all screen sizes...I have to work with one layout for various screen.

userAndroid
  • 586
  • 2
  • 9
  • 26

1 Answers1

1

give values in dp instead of dpi. see the docs. I also suggest you to use different images for different devices like hdpi,mdpi,xhdpi.

maddy d
  • 1,530
  • 2
  • 12
  • 23
  • ok..it works ..but now shadow is still there..for large screen sizes – userAndroid Apr 18 '14 at 07:48
  • shadow of the star..same as in this question http://stackoverflow.com/questions/9356799/android-custom-ratingbar-image-artifacts – userAndroid Apr 18 '14 at 08:00
  • firstly thanks for help and yes..I have done all these things related to this problem but could not help..as I am facing it for 2-3 days..and all the answers are only for one screen size..but when these solution check with various screen sizes it is creating problem same as I am facing .... – userAndroid Apr 18 '14 at 08:08