cómo dibujar una imagen pequeña en un lienzo en Android

I would like to ask on how to draw a small png file into the screen.

First I created an xml that shows the background picture. now I wanted to place a small picture inside that xml using bitmap.

Is it possible? and how, sorry I am just new to android development.

preguntado el 10 de marzo de 12 a las 15:03

Are you asking if you can embed an image as data inside the layout XML? -

@DevinM I was thinking more of an image that can be moved, I am actually developing a side scroller game. -

Have you gone through the Android tutorials? -

1 Respuestas

ImageView i=new ImageView(yourActivityClassName.this);



respondido 10 mar '12, 20:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.