Hi, you have to create a custom ArrayAdapter class which will override the getView() method and using this you can pass a XML file to the list and you can put whatever you want in side list. follow this blog by me
http://sujitdroid.blogspot.com/b/post-preview?token=AegwDy0BAAA.deBFPIcG_E74RiXMbZOKCw.8_azEqda-go3bKkL_v_Cww&postId=1537762072029914236&type=POST Thanks On Wed, Dec 22, 2010 at 2:43 PM, pramod.deore <[email protected]>wrote: > I have one activity which is extends from ListActivity. Here I am > displaying list of strings . I don't have .xml file I am showing list > using ArrayAdapter. Now what I want is to add 2 buttons to this list. > because I don't have xml file I am confused how to add buttons. Please > help me. Thanks in advance. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

