[android-developers] Re: Simple LinearLayout Question

2010-02-01 Thread jarnaud
Hello, yes, equal weights is the way to do it. Could you share your layout code? -- Jay Complete Android Tutorials: http://android.voxisland.com On Jan 31, 3:49 am, scastria scastria...@gmail.com wrote: Maybe I am missing something here: I have a simple horizontal LinearLayout with fill_parent

[android-developers] Re: Simple LinearLayout Question

2010-01-31 Thread Lance Nanek
The weight controls how the remaining space is used after the sizes are taken into account. That's why you often see width/height set to zero where weight is used. On Jan 31, 3:49 am, scastria scastria...@gmail.com wrote: Maybe I am missing something here: I have a simple horizontal

[android-developers] Re: Simple LinearLayout Question

2010-01-31 Thread dye...@wivsys.com
Why don't you take a look at the following blog: http://andmobidev.blogspot.com/2010/01/setting-width-of-view-using-percentage.html Regardless of text length--as you were expecting--I was able to show three equal-width TextViews. The combination of android:weightSum, android:layout_weight, and