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 5, 2010 at 11:33 PM, Ryan Detwiler <[email protected]> wrote: > 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 and can't seem to find some sort of > concrete example. they all make the entire screen a canvas, which > doesn't allow for layouts. Please help, and thanks in advance! :) > > http://i220.photobucket.com/albums/dd15/memphetic/CanvasExample.png > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

