For example, if each row in a list had a background that was a gradient, would it be better to use a image of a gradient or to define that gradient in a shape drawable in xml? Is there is significant performance difference between the two methods?
views:
46answers:
1
+2
Q:
Performance wise, what is typically better, using an image or a xml created shape as a drawable?
+1
A:
Don't prematurely optomize. That's a really hard thing to know what will be better. I would just do it in xml since it would be easier to change.
Falmarri
2010-10-24 02:57:00