Wednesday, May 26, 2010

Re: [android-developers] [Help] how to place item in GridView

Vincent Tsao wrote:
> i have four item in a GridView, named One, Two, Three, and Four. All
> these items set into a GridView will be looked like this:
>
> 1.png
>
> but, i wish these items display as blow: One placed in the First row.
> Two, Three and Four item placed in the Second row
>
> 2.png
>
>
> any idea how to implement this? thanks

Don't use a GridView. Use RelativeLayout, or nested LinearLayouts.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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

No comments:

Post a Comment