Marco Alexander Schmitz wrote:
> Hi,
> 
> is it possible to let my ListView show 2 different rows?
> 
> http://www.anddev.org/files/snapshot_119.png
> 
> On the picture you can see at the top something like a "teaser", the
> other rows are normal ListView.
> 
> The screenshot is from the iPod. With their framework it is possible
> to show 2 different row styles.
> 
> I badly need this on Android...
> 
> Otherwise I would use a tabel design. But adding rows dynamically
> would be such an overhead instead of using ListView SimpleAdapter
> addItem...

Check out these places where similar questions have been asked:

http://stackoverflow.com/questions/2036430/best-practices-combining-list-and-non-list-views-like-the-market
http://stackoverflow.com/questions/1966802/android-listview-headers
http://stackoverflow.com/questions/2394514/how-to-generate-a-listview-with-headers-above-some-sections
http://stackoverflow.com/questions/1939786/android-listview-different-views-for-every-item
http://stackoverflow.com/questions/1606320/android-custom-separator-or-even-item-in-listview-depening-on-content-of-item
http://stackoverflow.com/questions/1660417/android-efficientadapter-with-two-different-views

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

_Android Programming Tutorials_ Version 2.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to