2.x doesn't render gradient properly. It's much better than 1.x but not as good as 3.x. Same thing for 9-patch. I'ved fixed some issues there related to scaling when the 9-patch density doesn't match the rendering density.
Overall, the rendering library in 3.0 is much better than the previous one. I'm currently back-porting it to 2.x On Thu, Feb 24, 2011 at 3:08 PM, Marcin Orlowski <[email protected]> wrote: >>> - gradient as background does not work >> >> Do you have an example? Also did you make sure to select "android 3.0" >> in the editor? We improved gradient rendering in the rendering library >> of 3.0 but we haven't back-ported it back to previous version of the >> platform. >> >>> - buttons with images for background and src are rendered incorrectly >>> if src image is smaller than button size (it gets alligned to top-left >>> corner instead of being centered) >> >> I will try this, but my comment about the 3.0 rendering library >> applies here too, > > > Ok, this solves the problem so these 2 above are false report. In fact > (duck) I forgot that switch and was using 1.6 and it works much better > when using 2.1u1 and up. There're however some differences in the way > my buttons are rendered but I suspect it was perhaps due to some fixes > related to 9patch handling? > > > -- > Regards, > Marcin > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- 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

