I'm useing custom list view.which inflates the view......if you put a
button in the  XML it will put a button in each cell of the list view
i only want 1 button above the list view here is some more code to
make it clear.

public class customlistview extends Activity implements
        ListView l1;
         private static class EfficientAdapter extends BaseAdapter  {
        private LayoutInflater mInflater;
        private ArrayList<ArrayList<String>> ret=null;

         public EfficientAdapter(Context context) {
                  Sax sax1 = new Sax();
                  try {
                        ret =  sax1.SaxIni();
                } catch (Exception e) {


                   mInflater = LayoutInflater.from(context);


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

To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to