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
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
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
3 matches
Mail list logo