How can you still be having an issue?  I literally gave you the XML that you
need to accomplish what you're trying to do.

On Fri, Jul 30, 2010 at 8:24 AM, Kostya Vasilyev <kmans...@gmail.com> wrote:

> Declare the button in the activity's layout xml, above the ListView.
>
> -- Kostya
>
> 30.07.2010 19:20, calmchess пишет:
>
>  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
>> OnClickListener{
>>        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) {
>>
>>                        e.printStackTrace();
>>                }
>>
>>
>>                   mInflater = LayoutInflater.from(context);
>>
>>
>>
>>                  }
>>
>>
>>
>
>
> --
> Kostya Vasilev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
>
> --
> 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<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
//Nick Richardson
//richardson.n...@gmail.com

-- 
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

Reply via email to