Performance wise, what is typically better, using an image or a xml created shape as a drawable?

Viewed 4111

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?

2 Answers
Related