Hi all,

I need to populate a RelativeLayout (mainLayout) via code. I need view A  to
be aligned to its parent top edge, and B to be below A.

I can correctly position A by using "RelativeLayout.ALIGN_PARENT_TOP" rule.

Then I set an id to view A, and try positioning B below it by using
"RelativeLayout.BELOW , viewA.getId()" rule. But I cannot get it working. B
always get over A, not below.

What am I doing wrong?

Taísa

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to