[android-developers] Re: Question about View, Canvas, and Drawable.. --Basics

2008-11-06 Thread Mike Reed
Views - yes Canvas - you can create your own to draw into a bitmap, but views are handed a Canvas on their onDraw() method. For a given drawing pass, all of the views (usually) are handed the same Canvas (which points to the screen). However, on a subsetquent call to onDraw(), the actual

[android-developers] Re: Question about View, Canvas, and Drawable.. --Basics

2008-11-04 Thread joshbeck
I'll go ahead and add this too: I wrote two programs last night: -One added a Drawable to an ImageView Layout. -The other used onDraw and invalidate to repeatedly render out a canvas. Under what circumstances is the Drawable beneficial is my question I guess. Thanks again, Josh