Settings Switch animation jank while enabled One-handed mode
Switch is CompoundButton(View) and animating position when user tap on it. Unfortunatly when set overlay pakcage enabled, Switch componet will invoke onLayout() and cancelPositionAnimator(), that result the UX feel jank. We add a delay(250ms) before execute runtime resouce overlay to ensure the widget animation finished first. Test: Manual Settings > Gesture > One Handed Mode > Tap Switch Bug: 190584055 Change-Id: Ia42fdf3ed699afd51c154cb0a53581ef67959c71
Loading
Please register or sign in to comment