[android-developers] Canvas INSIDE of a Layout???

2010-11-08 Thread Ryan Detwiler
Hellooo.. I need to have a dynamically updateable canvas inside of a layout. I would prefer having some sort of method to draw to an imageview, which is displayed in red on the screenshot. It's intended to be a graph that updates every 5 times/second or so. Any ideas?? I've been searching for hours

Re: [android-developers] Canvas INSIDE of a Layout???

2010-11-08 Thread Stephen Jungels
This would be an example of creating a custom component. It's covered very well in the docs: http://developer.android.com/guide/topics/ui/custom-components.html The requirement for timed updates can be filled by your activity calling invalidate() on the custom view when needed. --SJ On Fri, Nov