开发者

How to strench child elements in LinearLayout

I have LinearLayout, and I am trying to make the child elements to be 100%. so far I have this

[E1] [E2] [E3] 

while I want them to be

[E1]  
[E2]  
[E3] 

what properties开发者_Go百科 should I change?? I tried several such as layout_width


Set LinearLayout orientation to vertical

android:orientation="vertical"

And make all elements fill parent.


You should change orientation property of your LinearLayout to vertical

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜