RichPath
RichPath copied to clipboard
draw glitch on specific phone type
Hi i make trimPathEnd animation and try on 5 type phone. But only on HTC one a9 with android 7 have ugly glitch when trimPathEnd = 0. When i hide all icons. When animation end i have on screen have two little white point and this make only in this htc phone. Workerround is something like that.
add to animation .animationListener(new AnimationListener() { @Override public void onStart() {
}
@Override
public void onStop() {
line1.setFillColor(Color.TRANSPARENT);
line1.setStrokeColor(Color.TRANSPARENT);
}
})
i attach screen

It is in the project https://github.com/rmasarovic/RichPathAnimationTest.
I will try that on several devices maybe I can reproduce it, I think you can consider your work around a right solution for the current state. Thank you for reporting this, if you get any issue please tell me.
@rmasarovic
I noticed that glitch only with strokeLineCap="round" and trimPathEnd="0" if you don't need strokeLineCap="round" remove it, and I will investigate that issue, thanks.