I would like to know what is the diff b/w listview and listactivity. According to my understanding, if we have only list in a screen then better to use listactivity correct?. If we want to add either simple button at the bottom of list or include search on top of list, then we should use listview in layout file right?
List activity is the activity which has a listview as its layout by default... and you can even customise the listview in the ListActivity by using a layout inflater and adding views...and yes.. for simple listview use list activity.. and to add such components use listview in layout. To customise your rows in the list use listactivity like this..