Hi, Mark, thanks a lot.

Using RelativeLayout, or nested LinearLayouts, i need hardcode for the
display and event for each item, which i really hated, GridView provides me
smooth APIs to meet my needs, BTW, if i have 3*N items someday, my problem
is not exist any more.

so, i find this tricky way, one general speaking, use holder item to fill in
GridView, then make those holder items invisiable:

[image: 3.png]


Finnaly, that's working!

Sigh~~, a weird requirement and a really tricky solution :)

On Thu, May 27, 2010 at 12:00 AM, Mark Murphy <mmur...@commonsware.com>wrote:

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

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

<<3.png>>

Reply via email to