开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜