TourGuide
TourGuide copied to clipboard
ToolTip is flickering for one second because BounceInterpolator is used with AlphaAnimation
The tooltip is flickering in a unpleasant way for one second after being displayed. See video capture here: https://mega.nz/#!qd8VQL4R!Z7hHVl5J8Oa_EAuynUXBI-HYsMrCJ1AVrbbw2tYJXw0
This occurs on both my test devices (Android 6.0.1 and 4.4.4).
I have identified the root cause:
In ToolTip.java
mEnterAnimation = new AlphaAnimation(0f, 1f);
mEnterAnimation.setDuration(1000);
mEnterAnimation.setFillAfter(true);
mEnterAnimation.setInterpolator(new BounceInterpolator()); //<<<<<<<<<<
Using a BounceInterpolator with an alpha animation is not appropriate, from a visual experience perspective.
Of course setting my own enterAnimation solves the issue.
I suggest changing the default animation interpolator to something like an AccelerateInterpolator.