Sunday, August 7, 2011

[android-developers] Re: images overlay on layout

I don't know for what purpose you are using FrameLayout

but RelativeLayout is terific

you just need to define how your ImageButton layout to his parent ,
the later Item in XML file will cover the former one .


for example :
<LinerLayout >
<textView />
<Button />
<LinerLayout />


if the 2 items have some public area , the Button will on the top

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment