How to set positions of fragments in FrameLayout?

preonfure

New Member
I have 2 fragments. One is the background, and the other must be displayed above the first fragment at a certain exact position. This is for an android app's UI, so the second fragment should not be mis-placed by even a single pixel. How can this be done? I am using FrameLayout in the XML.Edit: I am not on my home PC, so I'll explain with another picture:http://1.bp.blogspot.com/_5rlxf3T9Z...00/Freebie+Music+Player+UI+%2528PSD%2529.jpegThe part with the song and album names is the second fragment, the rest of the image is the first fragment. I need to place the second on the first at the exact position as it is in the picture.
 
Back
Top