I want to apply multiple scaleX animations on a view.
binding.indicator
.animate()
.scaleX(2f)
.start()
binding.indicator
.animate()
.translationX(binding.indicator.width.toFloat())
.setStartDelay(1000)
.start()
binding.indicator
.animate()
.scaleX(1f)
.setStartDelay(2000)
.start()
I thing the latest animator just overrides the animator on the view. How can I achieve this?
I want to do the following animations in sequence: scaleX -> translateX -> scaleX
End product I want to achieve: https://i.sstatic.net/68ECG.jpg