• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Fixing imagebuttons over a background image

I have a background image in linear layout and am trying to fix buttons over it at specific points,but i could not position it at specific points
 
LinearLayout does not allow you to specify absolute or relative positions for its child elements; it will only display them in a single row or column. Most likely what you will need to use is either a RelativeLayout or a FrameLayout. I'm leaning more towards FrameLayout as it will allow you to position items on top of other items.

FrameLayout: FrameLayout | Android Developers
RelativeLayout: RelativeLayout | Android Developers

I skimmed this tutorial and it seems to do a pretty decent job of explaining FrameLayout:
Android App Development ? Layouts Part Three: Frame Layout and Scroll View | Mobile Orchard
 
Back
Top Bottom