Have you considered using TableLayout? I've never used it but it sounds promising for what you want to do.
Chrigi On Tue, Mar 16, 2010 at 1:32 PM, Neilz <neilhorn...@googlemail.com> wrote: > I see. Thanks Mark. > > That's frustrating, as View does some really useful things that I > can't get other view types to do. > > Basically I'm trying to set up a grid of buttons (say 4 * 4 for > example), where the buttons are exactly equal in size, regardless of > the text within them, and together fill the parent view. View is > really good at filling its parent view, when used with layout_weight, > but if I change them to LinearLayout I lose that control - the buttons > start wrapping on the text, etc. > > I don't want to use specific widths and heights, as this won't be > helpful when testing on different devices, but I want the buttons to > naturally fit the available space with equal sizes. > > Any suggestions? > > -- > 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 -- 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