[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-13 Thread Beny Koo
Dear Mark, I've to say, that's really AMAZING demo! I've added the code to my project and it seems working perfect. Until last week I found the demo UI has an issue and I cannot resolve it by myself. The situation is following, I bind at least 3 database adapters with section to one listview on t

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-12 Thread Mark Murphy
Justin Grammens wrote: > I can't > believe that the Android developers didn't build an easy way to do > this into the API. Bear in mind there are only so many Android engineers and so much room in the firmware budget. Time and space constraints definitely limit what's practical to get done. Pers

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-11 Thread Justin Grammens
Thank you Mark! I've been looking for a better way to do section headers in Android 1.5 and no one has been able to help. I can't believe that the Android developers didn't build an easy way to do this into the API. Your SectionedDemo has been a life safer. Thanks again! On Jul 8, 4:18 pm, Michae

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
You're a genius! I pretty much did exactly what you said and it works perfectly now! BTW, I will be getting at least your Advanced Dev book, if not the Tutorials book as well! On Jul 8, 2:03 pm, Mark Murphy wrote: > Michael J wrote: > > So I'm using a modified version of the SectionedAdapter a

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Mark Murphy
Michael J wrote: > So I'm using a modified version of the SectionedAdapter and it seems > to be working quite well. The only issue is that I want to let each > "section" adapter to determine the clickability of it's items. It > seems like with the SectionedAdapter, all items except the headers a

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
So I'm using a modified version of the SectionedAdapter and it seems to be working quite well. The only issue is that I want to let each "section" adapter to determine the clickability of it's items. It seems like with the SectionedAdapter, all items except the headers are clickable. How exactl

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
Thanks man, I think that pretty much answers my questions. Now it's up to the implementation. On Jul 7, 11:51 am, "Mark Murphy" wrote: > > So are you saying I need to revert back to my original method of using > > a ListView with a custom adapter and add my "pre-list" content Views > > to the a

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Mark Murphy
> So are you saying I need to revert back to my original method of using > a ListView with a custom adapter and add my "pre-list" content Views > to the adapter itself? No, and I'm not sure, respectively. First, in terms of "need", I'm not saying you need to do anything. You said you wanted a UI

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
So are you saying I need to revert back to my original method of using a ListView with a custom adapter and add my "pre-list" content Views to the adapter itself? As long as I correctly implement those few methods you mentioned (getViewTypeCount(), getItemViewType(), etc)? On Jul 7, 11:19 am, "M

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Mark Murphy
I vaguely recall your earlier thread, so forgive me if I either repeat or contradict myself, assuming I responded... > My goal is to have something pretty much exactly like the installed > application details page in the Android Market. I need a list of > items displayed along with other content

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
Below is a small portion of the code I'm attempting to do this with. DayView is simply an extention of LinearLayout, and homeLayout is the layout I'm trying to add each DayView to. When I'm debugging with a break inside of the onClick(View v) method, it never breaks. DayView day = scheduleList.c