Change the height of a row in a listview
I want when a user clicks a row, that row grows to show more items with an scale animation, but I can't find how can I do that.
I don't know how can I change 开发者_开发知识库a height row at runtime. I've tried making the items visible, but this didn't work even if I inflate with another XML layout.
If I achieve the first one, I think I could make the scale animation.
This is explained well in APIDemos itself. Check the Collapsed List Adapter in ApiDemos/Views/Lists/6. ListAdapter Collapsed.
精彩评论