I wasnt implementing the standard dashboard since I had an x numbers
of "items" plus I wanted to add a button below the dashboard that
would take the whole width - couldnt use a GridView since I wanted
that button to scroll with the dashboard.

I used a LinearLayout as the row with 2 containers left & right and
they both cover the whole width of the device.


On Apr 22, 10:26 pm, Robert Louden <[email protected]> wrote:
> Ah, the dynamic part makes sense for a GridView. I've seen a ScrollView also
> be used with a LinearLayout template, so I guess it really is preference at
> that point.
>
> I must say that I never thought of using a ListView for the dashboard. I'm
> not even sure how. Do you use two views in each list row? What benefit do
> you see with using the ListView?
>
>
>
>
>
>
>
> On Fri, Apr 22, 2011 at 5:14 PM, Albert <[email protected]> wrote:
> > My guess is that you would want to use a LinearLayout if the dashboard
> > will be static (you know before hand where everything goes) and prefer
> > a GridView if you have a dynamic dashboard - maybe you will even want
> > it to scroll (like places in Google Maps)
>
> > Now I have actually used a ListView in my app's dashboard - is just
> > slightly different as I got a "profile" section that takes the full
> > width:
>
> >https://ssl.gstatic.com/android/market/com.alportela.tracker.view/ss-<https://ssl.gstatic.com/android/market/com.alportela.tracker.view/ss-...>
> > 0-320-480-160-0-bfe11461b144d969f0242f525bf500f21057cfe8
>
> > cant see how I can get that using a gridview.
>
> > - Alberto
>
> > On Apr 22, 7:13 pm, Robert <[email protected]> wrote:
> > > Following the dashboard interface from the Google I/O 2010 conference<
> >http://code.google.com/p/iosched/>,
> > > I see that they use a LinearLayout to make the dashboard. Other examples
> > > also use this style. I was wondering why wouldn't you use a GridView
> > > instead, seeing that it's mostly organized for you already? You can also
> > > more easily set a listener for the entire GridView, as oppose to
> > > individually writing a line of code for setting a listener for each
> > button.
> > > Does it really matter or is there any difference?
>
> > --
> > 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

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