How to make divider part of each item in listview in android?
I wanted to change the divider height dynamically. From whatever I have searched it seems that it is possible through setting divider as part of each item in ListView . But I am not very clear with this. So, can someone be more specific as how can one make the divider as part of item in ListView ? A way to do this would be to include the divider at the bottom of each row. Now you have to set the height of the divider view in your getView method in your listadapter depending of the item you are showing at the moment. Nothing is better than explaining by picture. Here I found a screenshot from