Saturday, December 4, 2010

[android-developers] Re: Layouts

I would go with custom layout manager: extend ViewGroup, override
onLayout method and provide your own layout logic.

On Dec 4, 3:26 pm, P.N. <peter.nabbef...@gmx.de> wrote:
> 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

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate