diff --git a/src/main/java/org/thoughtcrime/securesms/reactions/AddReactionView.java b/src/main/java/org/thoughtcrime/securesms/reactions/AddReactionView.java index fdd38fb0d..430fd7d76 100644 --- a/src/main/java/org/thoughtcrime/securesms/reactions/AddReactionView.java +++ b/src/main/java/org/thoughtcrime/securesms/reactions/AddReactionView.java @@ -105,7 +105,7 @@ public class AddReactionView extends LinearLayout { } else { x += offset; } - ViewUtil.setLeftMargin(this, x); + ViewUtil.setLeftMargin(this, Math.max(x, 0)); int y = Math.max((int)parentView.getY() - offset, offset/2); ViewUtil.setTopMargin(this, y); diff --git a/src/main/res/values/text_styles.xml b/src/main/res/values/text_styles.xml index 22830b8ea..8cdde6c8a 100644 --- a/src/main/res/values/text_styles.xml +++ b/src/main/res/values/text_styles.xml @@ -32,9 +32,9 @@