> How to set a few lists in one layout include their own data from DB?

Use multiple ListView widgets in the layout. Either have one handled by
ListActivity and you handle the other(s), or handle all of them yourself.
It's not that hard.

> here is source code about set list in Android guide. List id is
> @android:list
> why the id must be android:list?,

So ListActivity, if you are using it, knows which list it is handling.

> may I use my own id?

You can, for any ListView widgets you are handling yourself:

http://developer.android.com/reference/android/widget/ListView.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to