Hi I'm using a custom list view by extending a class with BaseAdapter this works well displays all my data however i want to add a single button above the listview without useing addheader but I don't know how to add it to the baseAdapter or getView method if i add the button to main.xml each cell of the listview is populated with a button this is undesireable i only want 1 button above the listview.....please help me to add the button. the below code is for refrence
public class customlistview extends Activity implements OnClickListener{ ListView l1; private static class EfficientAdapter extends BaseAdapter { private LayoutInflater mInflater; private ArrayList<ArrayList<String>> ret=null; -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en