开发者

LinearLayout addview shifting animation

开发者 https://www.devze.com 2023-03-26 22:04 出处:网络
When we add views to linear layout at particular index, then all views after that index get shifted. For example, I have linear layout with horizontal orientation. It has got five imageviews. When I w

When we add views to linear layout at particular index, then all views after that index get shifted. For example, I have linear layout with horizontal orientation. It has got five imageviews. When I want to add another imageview at 3rd position. So the imageview at 4th and 5th will get shifted to right.

I want this shifting to be ani开发者_运维技巧mated. Can this possible? If yes, how can this be possible?

Thanks in Advance.


Use ViewGrop for this adding view animation, change your layout to viewGrop. new LayoutTransition(); By using this you can do.

0

精彩评论

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