Image in a SurfaceView

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Image in a SurfaceView

Postby pcmaster160 » Fri Jul 16, 2010 8:23 pm

I have a simple question but I haven't figured out how to do it yet. How can I put a image in a SurfaceView? I tried google, the android dev site and the lunar lander example but I can't find anything simple enough.

Thanks in advance
pcmaster160
Freshman
Freshman
 
Posts: 2
Joined: Fri Jul 16, 2010 8:03 pm

Top

Re: Image in a SurfaceView

Postby blundell » Sat Jul 17, 2010 12:14 pm

Is this what you were looking for?:
http://developer.android.com/guide/topi ... rom-images
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Image in a SurfaceView

Postby pcmaster160 » Sat Jul 17, 2010 8:55 pm

I guess that works but i need a way to set its its x and y axis and set the width and height. How would i do that. Sorry i'm a noob. and thanks for your response.
pcmaster160
Freshman
Freshman
 
Posts: 2
Joined: Fri Jul 16, 2010 8:03 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests