Animate visibility modes, GONE and VISIBLE

后端 未结 8 2193
我寻月下人不归
我寻月下人不归 2021-01-30 01:54

So im trying to animate when i set the visibility of a linearlayout with other widgets, from GONE to VISIBLE and the opposite.Im using togglebuttons to show and hide. Here\'s an

8条回答
  •  难免孤独
    2021-01-30 02:40

    There is no easy way to animate hiding/showing views. You can try method described in following answer: How do I animate View.setVisibility(GONE)

提交回复
热议问题