Start motion scene programmatically

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

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

scene.xml



        
5条回答
  •  情深已故
    2020-12-30 21:31

    Finally Im doing this:

    ((MotionLayout)findViewById(R.id.motionLayout)).transitionToEnd();
    ((MotionLayout)findViewById(R.id.motionLayout)).transitionToStart();
    

提交回复
热议问题