Jags wrote:
> the question is can I use 3 listviews in them and set separate
> arryAdapters for each ?

Sure, if that is what you want.

> If yes, how will setListAdapter call look
> like ? it takes a ListActivity instance, isn't it ?

You will need to use setAdapter() on the ListView widgets directly.

> Otherwise how can I group these into 3 different groups ?

You can use a MergeAdapter to combine the three SimpleCursorAdapters
into a single adapter to go into a single list:

http://github.com/commonsguy/cwac-merge

> setListAdapter(new ArrayAdapter<String>(this,
>                               android.R.layout.simple_list_item_1, items));
> 
> how can I change the heights of the rows ? currently those look a
> little broad.

Create your own layout for the rows, instead of using
android.R.layout.simple_list_item_1.

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

_The Busy Coder's Guide to Android Development_ Version 2.8
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

Reply via email to