Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I am trying to make a game. I need to place two-three images at some particular location on a background ImageView. I cant seem to get it. I am using FrameLayout. here it is....
How it is : http://i46.tinypic.com/246udqw.png
How I want : http://i45.tinypic.com/feiatx.png
Here is the XML : pastebin.com/1sn0DVnh
Posted
Comments
Kunal Salunke 18-Dec-12 13:23pm    
i have same question we can implement this manually(by calculation) but i want the direct procedure for this/....
AndroidVivek 1-Jan-13 5:52am    
Visible.gone for background
and visible.true whenever you want it..

1 solution

Use image splices. That way you can align it to whatever you want in the image.
for example:
Java
android:layout_alignRight="@+id/buttonRL"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900