MGSenthil
MGSenthil

Reputation: 629

how to order the elements in relative layout

friend's I have a task to place the horizontal scroll or swipe menu tabs in my application i did it where the appears top of the header,but my problem is to place the scroll menu has below the header

i have RelativeLayout where it contains two elements one after another,

       TextView   -  for header
       Gallery   -  for Scroll menu items 

from the above code Gallery content been set from my activity,

========================================

how can i get it.

thanks in advance.

Upvotes: 1

Views: 1404

Answers (2)

fedj
fedj

Reputation: 3452

If you had read at least one time the documentation (the same way for what Maragues said, please mark question as answered when they are otherwise people will not answer you anymore) you should have seen that there are xml attributes to RelativeLayouts like android:layout_below ...

Check this link

Upvotes: 1

Blrfl
Blrfl

Reputation: 7003

Is there something about LinearLayout that makes it unsuitable?

Upvotes: 1

Related Questions