views:

18

answers:

0

I'm just starting with android programming. I have a canvas which I've drawn on, and now I'd like it to appear inside a container in a layout. How do I do that? I've tried making a class that extends a View object and I can get it to draw on the entire screen, but I don't know how to get it to draw just inside the ImageView container in my layout. I've also tried creating a new Canvas and drawing on it, but I don't know how to get it in the container. Any help would be appreciated.