简体   繁体   中英

How to split three column using linear layout in Android

Can anybody tell me how to split three column using linear layout in Android?

Simple, just add android:layout_weight="1" to all of the children. That's the simple version, unless you want to do something more complicated, of course.

http://developer.android.com/resources/tutorials/views/index.html

see first example, split in 3 instead of 4.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM