Mark, that was one of the examples that I used when researching on how to create a dashboard; very useful. They use a LinearLayout to organize the dashboard.
On Fri, Apr 22, 2011 at 5:28 PM, Mark Murphy <[email protected]>wrote: > Also, see: > > http://stackoverflow.com/questions/4981430/dashboard-layout-pattern > > On Fri, Apr 22, 2011 at 5: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> > 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 > > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in NYC: http://marakana.com/training/android/ > > -- > 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

