kopia lustrzana https://github.com/ryukoposting/Signal-Android
Start animation when megaphone is displayed.
rodzic
665ce14bb6
commit
625d36fb27
|
@ -62,6 +62,7 @@ public class PopupMegaphoneView extends FrameLayout {
|
||||||
} else if (megaphone.getLottieRes() != 0) {
|
} else if (megaphone.getLottieRes() != 0) {
|
||||||
image.setVisibility(VISIBLE);
|
image.setVisibility(VISIBLE);
|
||||||
image.setAnimation(megaphone.getLottieRes());
|
image.setAnimation(megaphone.getLottieRes());
|
||||||
|
image.playAnimation();
|
||||||
} else {
|
} else {
|
||||||
image.setVisibility(GONE);
|
image.setVisibility(GONE);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue