New to Android - Drawing a view at runtime

Posted by Brian515 on Stack Overflow See other posts from Stack Overflow or by Brian515
Published on 2010-03-29T16:01:43Z Indexed on 2010/03/29 16:03 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

HI all,

I'm just getting started with developing for Android. I'm looking to port one of my iPhone applications, but I'm kind of at a loss for how to draw a view at runtime (a view not declared in the XML). Basically, I want to draw a simple rectangle, but then be able to manipulate its frame after being drawn.

Sorry if this is a really, really simple question, but I can't seem to find some equivalent to the iPhone SDK here.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about android

Related posts about view