Hi!

Here is my layout:
http://www.digle.de/friends/options.png

Here is the source:
http://www.digle.de/friends/options.txt

I want to put a linearlayout in the center of a tablelayout with three
tablelayout-rows. The first one has the weight 2, the second one 3 and
the third one 1.
So the linearlayout is in the center of the second row. the left and
right column of it are framelayouts with the weight 1.

This way I managed to place the linearlayout at exact percental
coordinates.
The strange thing is, when I fill the linearlayout with some other
views (with the gravity "center" and without weights), it gets bigger,
although it has enough space for all my views.

How can I solve this problem so that the linearlayout does not change
it's size when I fill it?

Without all the views, the second row has the correct height:
http://www.digle.de/friends/options2.png

Greetings, Martin

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

Reply via email to