开发者

Animation View View.setVisibily(View.VISIBLE) in Android

开发者 https://www.devze.com 2023-04-04 10:26 出处:网络
I have a vertical linearLayout v1, v2. By default v1 has visibily = GONE. I would like to show v1 with an expand animation and push down v2 at the same time (GONE -> VISIBLE).

I have a vertical linearLayout v1, v2. By default v1 has visibily = GONE. I would like to show v1 with an expand animation and push down v2 at the same time (GONE -> VISIBLE).

In this link How do I animate View.setVisibility(GONE) to know the effect a view slowly disappeared (VISIBLE -> GONE开发者_高级运维), but not (GONE -> VISIBLE).

Please help me! Thanks.

0

精彩评论

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

关注公众号