Re: [android-developers] rounded corner // Shape Drawable (via xml) vs. PNG

2011-07-07 Thread Mark Murphy
On Thu, Jul 7, 2011 at 11:58 AM, Ralph Bergmann wrote: > My question: Why he/she recommends a shape drawable xml file and not a > png file (9-patch)? Why is a shape drawable better? A ShapeDrawable is neither better nor worse than a nine-patch PNG, any more than a hammer is better or worse than a

[android-developers] rounded corner // Shape Drawable (via xml) vs. PNG

2011-07-07 Thread Ralph Bergmann
Hi, On stackoverflow I found a question about creating a rounded corner graphic. http://stackoverflow.com/questions/1683185/android-listview-with-rounded-corners The solution was to create a shape drawable via xml file. My question: Why he/she recommends a shape drawable xml file and not a png