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

by Mark Murphy » Fri, 26 Feb 2010 21:08:43 GMT


Sponsored Links
 


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 inappropriate" row
are all selectable. Hence, I'm reasonably certain this is a ListView
overall.


It is useful anyplace where you have the need for a ListView where the
content does not all come from a single adapter. That could be headings.
That could be a mix of fixed rows (e.g., "Flag as inappropriate") and
data-driven rows (e.g., the comments). It could be both. It could be
something else.


If the non-header rows are to be selectable and/or clickable, then you
probably want to use a ListView. If not, a ScrollView should work.


You cannot have scrollable things inside scrollable things. Hence, you
cannot have a ListView inside of a ScrollView, for example.

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

_Android Programming Tutorials_ Version 1.0 In Print!

--



Other Threads

1. What are "CATEGORY_CONTAINER" menus and how do they get added to the menu?

>From the following article

http://code.google.com/android/kb/commontasks.html#addmenuitems

I see how ALTERNATIVE and SELECTED_ALTERNATIVE menu items could be
added to the activity using intents and mime types.

Wondering if someone can throw light on what "container" menus are and
how they get added.

How about CATEGORY_SYSTEM menus as well in a similar manner? When does
the system add them. I am thinking they are more like "Fiel/Save" etc.
Or is my understanding off to the left field.

Appreciate your time
Thanks
Satya
--~--~---------~--~----~------------~-------~--~----~

2. Using google Maps

Anyone has some sample code which i can look at for me to start off
interfacing with Maps. In my app i will need to get from place A to B
showing me with the use of an arrow the direction i should take. (i.e
similar to a GPS system). I am very new to android :(.
Thanks to all that can help me.

--~--~---------~--~----~------------~-------~--~----~

3. Maximum size of database

4. is the order value of Menu.CATEGORY_SECONDARY a property of the menu item or the group?

5. Developers Count on Android v's iPhone?

6. Starting an instrumentation with an intent

7. How & When we use "KeyguardLock" or "KeyguardManager"