Which View/Layout does the Market app (1.6) details activity use?

by westmeadboy » Fri, 26 Feb 2010 17:20:36 GMT

Sponsored Links
 I want to do something very similar (in terms of appearance) to the
app details activity of the Market app.

It looks like a cross between linear layout (not all rows the same),
list (scrolling nature), preferences (headings).

My guess is its a linear layout in a scroll view (ignoring activity
header/footer) and the headings are just hard coded...

Is that the best way to do it?


Which View/Layout does the Market app (1.6) details activity use?

by Mark Murphy » Fri, 26 Feb 2010 20:47:07 GMT


My guess was, and is, that it is a ListView with an appropriate ListAdapter.

To have a mixed bag of row types, including some enabled and some not
(headings), you can either roll your own ListAdapter, or use my


Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android Development Wiki:  http://wiki.andmob.org 


Sponsored Links

Which View/Layout does the Market app (1.6) details activity use?

by westmeadboy » Fri, 26 Feb 2010 21:01:48 GMT

 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 don't really have any sublists. Its a bunch of rows each
with their own header and each (below-each-header-part) very different
from one another.

I've never used ScrollView before. Are there any potential pitfalls
using a LinearLayout within a ScrollView?


Other Threads

1. Lost edxternal capability with last update

My phone automatically updated to the latest android version, which I
am really happy with. Except my HTC external adapter is no longer
recognized when plugged in for external audio. The adapter still
works, I can charge by plugging power into the adapter and to the
phone. When I plug an audio cable the internal sound still comes out
and is not picked by the external audio port for headphone play.
please help, I tried the physical troubleshooting, I'm not finding
anyone with this problem since the last update.


2. regional languages support in android


          I am a beginner to the android. I want to see the Telugu font on
the default browser of the android. But the default browser of android is
not supporting Telugu and Tamil

languages. Does android support Indian languages like Telugu? I came to know
that Opera mini 4.2 supports more than 90 languages including Telugu.

I started working with the Opera. But opera also not supporting when I
installed it on the android.

I have done the Opera mini 4.2 installation on HVGA emulator.

thank you,


3. Establishing CSD (aka data call)

4. NFC support using Open source library libnfc

5. Message Thread Handling

6. Problems creating a "Custom Dialog"

7. Android-SDK-1.5-Win-32: network connection beyond firewall