could it be solved here? http://andmobidev.blogspot.com/2010/01/setting-width-of-view-using-percentage.html
On Jan 30, 12:08 pm, Ivan <[email protected]> wrote: > I have exactly the same requirement. I need to create a 2x2 layout of > 4 buttons where each button must be the same size. I tried TableLayout > and LinearLayout combos without any luck so far. > > On Jan 29, 11:42 am, ClarkBattle <[email protected]> wrote: > > > I have a TableLayout where each cell of the table contains a single > > button or textView. I want to make sure that every cell has the same > > height and the same width. In other words all column widths are the > > same and all row heights are the same. Of course, it has to do this > > while resizing the TableLayout to its given layout_width and > > layout_height. Do I have to do the math myself and set each cell > > manually or is there an automatic way to do it? > > > Thanks. > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

