images

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

images

Postby androidguyDEV » Thu Jul 28, 2011 12:59 am

I am trying to develop a small game. I have loaded an image as the background and want to use another png image to be displayed on the top of the previous image at the bottom part of the screen.

Any one having any ideas how to do this.
androidguyDEV
Freshman
Freshman
 
Posts: 4
Joined: Tue Jul 26, 2011 12:03 am

Top

Re: images

Postby mitutitu » Wed Aug 03, 2011 11:44 pm

Hi androidguyDEV,
To do so use any layout (e.g., LinearLayout, RelativeLayout etc.) and place the first image as the background of that layout. After that use an imageView on top of the layout and obviously you can place this view anywhere on the layout and use second image as the background of imageView.

I think that would help you :)
Android is awesome!
User avatar
mitutitu
Senior Developer
Senior Developer
 
Posts: 113
Joined: Tue Jun 09, 2009 7:40 am
Location: St. John's, NL, Canada

Re: images

Postby roopa » Wed Oct 19, 2011 11:21 am

I really appreciate of your self for the helpful information you have shared. I find this information very useful and it has considerably saved my time on saving images/
roopa
Developer
Developer
 
Posts: 27
Joined: Wed Sep 14, 2011 6:46 am

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests