Reputation: 4967
Can anybody tell me how to split three column using linear layout in Android?
Upvotes: 4
Views: 16166
Reputation: 1273
http://developer.android.com/resources/tutorials/views/index.html
see first example, split in 3 instead of 4.
Upvotes: 6
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