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

by Mark Murphy » Fri, 26 Feb 2010 21:28:42 GMT


Sponsored Links
 


Having rows that should be selectable screams "use ListView" to me,
because rolling that yourself could be messy.

Whether you use MergeAdapter or your own custom BaseAdapter is up to
you. Your own custom adapter class gives you more control; MergeAdapter
is plug-and-play.

BTW, if you elect to use MergeAdapter and have questions, please join
the [cw-android] Google Group and post the questions there -- no sense
in cluttering up this list.

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

_The Busy Coder's Guide to Android Development_ Version 3.0
Available!

--



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

by Mark Murphy » Fri, 26 Feb 2010 21:45:25 GMT


 


You can make the rows and stuff be individual XML files. I would be
nervous about trying to combine them all into one and reparent widgets
on the fly.

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

Android Training in US: 26-30 April 2010:  http://onlc.com 

--


Sponsored Links


Other Threads

1. Problems with the tutorials and SDK/Emulator 1.6

I've been working my way through the tutorials from the Android
Development page and had two major problems/errors come up while
running the 1.6 emulator.

When trying to run HelloTableLayout from the tutorial I get the error
"The application Hello Table Layout (process
com.example.hellotablelayout) has stopped unexpectedly. Please try
again."

I get the same thing even when I copy and paste the code directly from
the example code from the website.

I'm having another problem with the HelloRelativeLayout tutorial,
where no matter what I do the two radio buttons end up aligned on the
left side of the screen (not the right) and one on top of the other
(not on the same line).

Again same thing happens even when I copy and paste the code off the
site.

Am I missing something here of is it just something to do with the new
SDK and Emulator?

Really appreciate any help/advice,

Thanks

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

2. How to put TextView in same position in landscape and portrait mode in Android

Hi All,

I am facing a problem when i put a textview on screen in landscape
mode it position is fine but when i switch to portrait mode it
position is remain fix it not change according to screen resolution.
please help me here

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

3. ArrayIndexOutOfBoundsException in maps API

4. Specifying relative positions in Layout?

5. Can we put inner layout in center of the screen.

6. Android 1.6 Maps Application

7. Image scaling by BitmapFactory.decodeResource()