Peter,

Specifying a fraction of parent size can be done with layout_weight.

Not sure if it works with table layouts, but for a small table like this, you could use nested LinearLayouts, which do support layout_weight very well.

-- Kostya

04.12.2010 16:26, P.N. пишет:
Hello!

Is there any layout to achieve this:
- 5 rows with 3 columns;
- every row 20% of display height;
- first and third column 25% of display width, second is 50%;
- child views (buttons) in second and fourth row, second column?

I've tried to use TableLayout, but it doesn't work as expected.
Especially, when trying to set "android:layout_height='fill_parent'" for
all TableRows, only the first row is expanded and the others are missing.

Kind regards

Peter



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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

Reply via email to