TranslateAnimation Not Working As Expected

前端 未结 1 524
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-03 08:54

I wanted to move some linear layout using TranslateAnimation. I have 2 problems. My base SDK is Android 2.2.

  1. Even when the animation is finished, the touchable
1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 09:43

    I solved the issue with the help from post View.GONE in animation complete

    The problem is after layout B completes the animation, i missed to make the view state as View.GONE. Adding View.GONE brought back the controls.

    0 讨论(0)
提交回复
热议问题