I have added some adapter to the list view. For some items, the text is lengthy and the item displays only some portion of the text. How to fix this.? Is there a way to set the size of the list view item?
A:
well one solution to that would be to define item layout as a table layout. Then you can set the contents of the column to wrap in the table layout.
This could be a possible layout for your Item to be displayed in the list Activity
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:shrinkColumns="0"
>
<TableRow>
<TextView
android:id="@+id/yourContentId"
/>
</TableRow>
</TableLayout>
Amit
2010-03-05 07:50:54
Thanks amit.. will try out..
vinoth kumar
2010-03-08 04:23:38