Closed pelmenstar1 closed 2 years ago
Not sure how but the animations of the indicator are twice as slow as the tab animations nows, other than that it looks and appears to be working as expected!
Haven't understood what's wrong.
Old:
New:
As for me, everything's ok
Ah yes, it's a fun one, depending on the animation speed you have configured in developer settings (I have set it to 0.5), some animations are affected by it.
It used to be fine, I did something in the existing code to fix it, but I am not sure what.
Well, there is fixDurationScale
method. But I think it shouldn't be used, because it sets sDurationScale
globally and it affects to another views in application. Ergo, it may create some difficulties for developers testing animations with developer settings
I'll merge it, but I am not too sure what the behavior should be, since at the moment both animations behave differently depending on the developer settings. I will have to dig deeper in how this is actually applied for animations.
This PR reduces memory allocations, improves animation performance.
More information about changes in commit messages but if to be briefly: