I have got one RelativeLayout. it contains 2 linearlayouts. one linearlayout should always be aligned with bottom (for log out purpose.). The other linearlayout starts from top and contains 2 view stubs. These two viewstubs have different heights any only one of them will be visible at same time.
My problem is if I make top linearlayout align top and bottom linearlayout align bottom, contents overlap if viewstubs hight is bigger.
I can not make them above and below of any as if the viewstubs height is smaller views start not from the corners.
Can anyone suggest me how I can avoid them from overlapping?
Aucun commentaire:
Enregistrer un commentaire