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 set > containing 3 TextViews inside it. I have set each of the TextViews to > have 1.0 weight. My goal was to get each TextView to take up 33% of > the LinearLayout. This sort of works, but the TextView sizes change > depending on the text of the TextView. The TextView with the longest > string is taking up slightly more space than the other two TextViews > with shorter strings. Since each of the TextViews have equal weights, > they should be evenly distributed across their parent regardless of > the text inside, correct? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en