Anyone help me to modify the layout params of a child in a ListView in Android.Please give some code snippets if you can.
A:
Write your own Adapter class and overwrite the getView method. The getView method is called for each position in the list.
You'll have to overwrite some other methods too as given here
You can create custom views and return them from the getView method. Remember to use the older view passed down to the method if its possible for optimum memory usage
Prashast
2009-06-10 16:05:41