Hey guys, I've got a general performance question. In my Webview app, I'm trying to display a div (statically-sized) that is 100px x 200px. The div has a linear gradient that goes the whole 200px. From a performance standpoint, do you believe that it would be fastest to use an optimized 1px image and tile the background, or to use the -webkit- gradient function?
I'm really only asking because the "webkit-gradient" implementation looks a little crappy to me. The gradient isn't "smooth" like it is in Chrome,/Safari; it's extremely striated, like you'd get with a poorly optimized .GIF, circa 1998. Would a tiled image degrade performance? I like the idea of the CSS as I can change the size of the elements easily for future phones, but I'm not sure if the visual hit is worth it. Thanks for any help! Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---