Profile cover photo
Profile photo
Krishnan Dasan (Krish)
942 followers -
Senior Android Developer
Senior Android Developer

942 followers
About
Krishnan's posts

Post has attachment

Post has attachment

Post has attachment
An imaginary good one.

Post has attachment

A weird animation issue with ViewAnimator and ViewFlipper

Yesterday I was working on a layout with ConstraintLayout as root parent. The layout has a ViewAnimator with 3 ImageViews children and also has in and out animations. The animations while changing children are appeared fine at first.

Then added a TextView below to ViewAnimator. Now animations for first 2-3 ImageViews change are not working. But 4th change onward ImageViews are getting animated.

Then I had to add a GridLayout below to TextView. After that animations for all changes has stopped. None of ImageView is getting animated even when a loop completes.

If I remove TextView and GridLayout, animations works fine. But with them, ImageViews change without any animations.

And also it is happening as the same with ViewFlipper also.

Does anyone happens to know what could be the reason?

#AndroidDev

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded