Start motion scene programmatically

后端 未结 5 966
心在旅途
心在旅途 2020-12-30 21:12

I have a motion layout with this layoutDescription: app:layoutDescription=\"@xml/scene\"

scene.xml



        
5条回答
  •  长情又很酷
    2020-12-30 21:42

    You can also do this in your xml with

    motion:autoTransition="animateToEnd"
    

    and

    motion:autoTransition="animateToStart"
    

提交回复
热议问题