[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread Daehoon Jeon
Sorry for that I can't understand the source code you give totally. Did you have looked the sample in the Android named Notepad? It use SimpleCursorAdapter. Get cursor from NotesDbAdapter first. and use setListAdapter() to set list. It only recognize the first ListView of setContentView(R.layout.m

[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread UBZack
BTW, please ignore the layout_below attributes of each ListView in that xml I posted, they're wrong, sorry! On May 14, 10:05 am, UBZack wrote: > I'm guessing that all of your layouts except one are ending up with a > zero width, or zero length.  In any case, the simplest way I can think > of to

[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread UBZack
I'm guessing that all of your layouts except one are ending up with a zero width, or zero length. In any case, the simplest way I can think of to put multiple lists in the same layout is to use LinearLayout, and set a pixel height to each list: http://schemas.android.com/apk/res/ androi