one textview and one imageview inside a list view, how is it possible?
I want to make code for a listview. In listview there will be a textview and an imageview both in one line of the listview. How is it possible. I开发者_开发技巧 am using that code in my TabHost control.
You need to write your own list view item layout, which includes a text view and an image view. Here's a good guide on writing a custom list view.
Create a layout that is specific to each line. In your case, it will contain the textview and imageview wrapped in either a relative or linearlayout. Then just inflate that view for each line
精彩评论