kopia lustrzana https://github.com/ryukoposting/Signal-Android
Draw pulse outliner in onDrawForeground instead of in onDraw.
rodzic
05b7055678
commit
2022dae37a
|
@ -774,10 +774,6 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||||
|
|
||||||
bodyBubble.setOutliners(outliners);
|
bodyBubble.setOutliners(outliners);
|
||||||
|
|
||||||
if (mediaThumbnailStub.resolved()) {
|
|
||||||
mediaThumbnailStub.require().setPulseOutliner(pulseOutliner);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (audioViewStub.resolved()) {
|
if (audioViewStub.resolved()) {
|
||||||
setAudioViewTint(messageRecord);
|
setAudioViewTint(messageRecord);
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,8 +90,8 @@ public class ConversationItemBodyBubble extends LinearLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDraw(Canvas canvas) {
|
public void onDrawForeground(Canvas canvas) {
|
||||||
super.onDraw(canvas);
|
super.onDrawForeground(canvas);
|
||||||
|
|
||||||
if (Util.isEmpty(outliners)) return;
|
if (Util.isEmpty(outliners)) return;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue