I also need to change the drawable when a listview item is selected. How can I achieve this?
On Monday, April 9, 2012 2:19:39 PM UTC+5:30, bin yang wrote: > Define common list item layout file. > Using LayoutInflater to create view of Adpater. > > 在 2012年4月9日 下午4:30,Put_tiMe <[email protected]>写道: > >> I want to add a background image for each row of a list-view control. >> I have written a custom adapter for the list view. >> >> What is the best way of doing it? >> >> >> -- >> 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

