user386430
user386430

Reputation: 4967

How to split three column using linear layout in Android

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

Upvotes: 4

Views: 16166

Answers (2)

yep
yep

Reputation: 1273

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

see first example, split in 3 instead of 4.

Upvotes: 6

dmon
dmon

Reputation: 30168

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.

Upvotes: 7

Related Questions