Re: [android-developers] How can I draw a simple shape with shapedrawable?

2010-02-09 Thread Jason Proctor
one way is to override your View's draw() and then do stuff with the Canvas instance passed in. the drawLine() etc methods are in Canvas. I've looked for a tutorial on it, but I can't figure out how to do it... For starters, and I can dig some more from there, how do I have a simple program d

[android-developers] How can I draw a simple shape with shapedrawable?

2010-02-09 Thread Breezy
I've looked for a tutorial on it, but I can't figure out how to do it... For starters, and I can dig some more from there, how do I have a simple program draw a simple rectangle? Nothing else, no frills, just draw and display a rectangle? I was thinking for the layout I would use ImageView, then