kopia lustrzana https://github.com/ryukoposting/Signal-Android
Double-pulse message highlights.
rodzic
8a49534e2b
commit
4f3bb39e5c
|
@ -808,6 +808,7 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||||
|
|
||||||
private void startPulseOutlinerAnimation() {
|
private void startPulseOutlinerAnimation() {
|
||||||
pulseOutlinerAlphaAnimator = ValueAnimator.ofInt(0, 0x66, 0).setDuration(600);
|
pulseOutlinerAlphaAnimator = ValueAnimator.ofInt(0, 0x66, 0).setDuration(600);
|
||||||
|
pulseOutlinerAlphaAnimator.setRepeatCount(1);
|
||||||
pulseOutlinerAlphaAnimator.addUpdateListener(animator -> {
|
pulseOutlinerAlphaAnimator.addUpdateListener(animator -> {
|
||||||
pulseOutliner.setAlpha((Integer) animator.getAnimatedValue());
|
pulseOutliner.setAlpha((Integer) animator.getAnimatedValue());
|
||||||
bodyBubble.invalidate();
|
bodyBubble.invalidate();
|
||||||
|
|
Ładowanie…
Reference in New Issue