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 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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.