[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
Thanks Mark - that MergeAdapter will definitely come in handy for some other things I'm doing. In the Market activity, only the Comments section can really be described as a list. So wouldn't the MergeAdapter only be useful in the situation where there is more than one sublist? In my case, I

Re: [android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: In the Market activity, only the Comments section can really be described as a list. That is a misconception. Try using your D-pad or trackball or whatever on that screen. You will find that the comments, the three items below the About the developer heading, and the Flag as

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
I see that the description section is not selectable and assume it is pretty trivial to define whether something like that (and headings) is selectable or not... In my case, some rows are selectable and others have views within them that are selectable (think of a displayed sentence where

Re: [android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: I see that the description section is not selectable and assume it is pretty trivial to define whether something like that (and headings) is selectable or not... In my case, some rows are selectable and others have views within them that are selectable (think of a

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
ok, ListView it is! I think the thing that bothers me, is I would like to define the whole layout in XML (as if I were using a LinearLayout). I wonder if its still possible (or recommended) to do that. Inflate the layout and then read off the children into the Adapter...?? On Feb 26, 2:27 pm,

Re: [android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread Mark Murphy
westmeadboy wrote: ok, ListView it is! I think the thing that bothers me, is I would like to define the whole layout in XML (as if I were using a LinearLayout). I wonder if its still possible (or recommended) to do that. Inflate the layout and then read off the children into the

[android-developers] Re: Which View/Layout does the Market app (1.6) details activity use?

2010-02-26 Thread westmeadboy
I think you're right, it could get messy. Having said that, I think there is a good case for creating a custom widget like LinearLayout2ListView (i.e. extends ListView and takes a linear layout resource as an argument). A man of your talents Mark, could polish that off in about half an hour :)