[android-developers] Re: Listview using ArrayAdapter trouble

2010-12-30 Thread Mystique
Wow, this is new knowledge to me. Thanks! On Dec 31, 5:51 am, jotobjects wrote: > On Dec 29, 11:00 pm, Mystique wrote: > > > Good day, > > I do not understand the outer LinearLayout you was pointing out. > > Don't we need to declare a Layout so we can put component such as > > listview, textview

[android-developers] Re: Listview using ArrayAdapter trouble

2010-12-30 Thread jotobjects
On Dec 29, 11:00 pm, Mystique wrote: > Good day, > I do not understand the outer LinearLayout you was pointing out. > Don't we need to declare a Layout so we can put component such as > listview, textview etc? No - this is an unnecessary layer that is quite expensive in memory and CPU resources.

[android-developers] Re: Listview using ArrayAdapter trouble

2010-12-29 Thread Mystique
Good day, I do not understand the outer LinearLayout you was pointing out. Don't we need to declare a Layout so we can put component such as listview, textview etc? On Dec 30, 2:51 pm, jotobjects wrote: > Does android.widget.TwoLineListItem do what you want? > > BTW - looks like the outer LinearL

[android-developers] Re: Listview using ArrayAdapter trouble

2010-12-29 Thread jotobjects
Does android.widget.TwoLineListItem do what you want? BTW - looks like the outer LinearLayout is unnecessary in list.xml and listadapter.xml. On Dec 29, 5:41 pm, Mystique wrote: > Hi, > I have an app that I mine data with an ArrayList and load to an > ArrayAdapter to display as listview. How can