Use LayoutInflater inside the method ListView.setAdapter(); View ListItm = mInflater.inflate(R.layout.itm_layout, null); where *itm_layout *is an xml layout file contatining your button, text view and image.
After that you can use method ListItm.findViewById(R.id.button); 2011/5/26 Neri Martinez <[email protected]> > read that, it use a xml inflator, it will help you > http://www.androiddom.com/2011/02/android-shopping-cart-tutorial.html > > > 2011/5/26 Hikmat Khan <[email protected]> > >> Dear I have the same problem to >> >> >> >> On Thu, May 26, 2011 at 1:01 AM, Senthil ACS <[email protected]> wrote: >> >>> Agree with Treking.. >>> >>> Hint: Use layoutinflater >>> >>> On May 26, 2:28 am, TreKing <[email protected]> wrote: >>> > On Tue, May 24, 2011 at 1:18 PM, bhima santosh < >>> [email protected]>wrote: >>> > >>> > > I want to have a listview with each row having a button,textview and >>> image. >>> > > Can anyone tell how to go abt it >>> > >>> > Step 1 would be "Read the documentation." >>> > >>> > >>> --------------------------------------------------------------------------- >>> ---------------------- >>> > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago >>> > transit tracking app for Android-powered devices >>> >>> -- >>> 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 >>> >> >> -- >> 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 >> > > > > -- > Neri M. Martinez > Ingeniero en Sistemas de Computación > > -- > 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 > -- 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

