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
精彩评论