I've got a question. Can I disable back animation? I mean for example animation is start to end when a button clicked. And when the button is clicked again it runs automatically animation end to start. Can I disable this?
You can do this programaticaly after the end animation set the end scene as the start scene motionLayout.setTransition(R.id.start, R.id.start) and when you ewant to enable it motionLayout.setTransition(R.id.start, R.id.end)
The code is complete and when the screen goes blur I supposed to show my running application demo but I forgot to add that when I was editing. I am sorry for your inconvenience , don't worry the code is working but I forgot to show the output
Thanks to you now i understand how to use motion layout
Thanks
I've got a question. Can I disable back animation? I mean for example animation is start to end when a button clicked. And when the button is clicked again it runs automatically animation end to start. Can I disable this?
You can do this programaticaly after the end animation set the end scene as the start scene
motionLayout.setTransition(R.id.start, R.id.start)
and when you ewant to enable it
motionLayout.setTransition(R.id.start, R.id.end)
Hmm Bengali accent..nice :D
thanks
How go motion layout to constraint layouts
i can't see app running in your device.... why is your screen blurred? and please share your code.
The code is complete and when the screen goes blur I supposed to show my running application demo but I forgot to add that when I was editing. I am sorry for your inconvenience , don't worry the code is working but I forgot to show the output
Thanks bro
welcome
Thanks to you now i understand how to use motion layout
Thanks