diff --git a/src/main/java/org/thoughtcrime/securesms/reactions/AddReactionView.java b/src/main/java/org/thoughtcrime/securesms/reactions/AddReactionView.java index fdd38fb0d0..430fd7d768 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 void show(DcMsg msgToReactTo, View parentView, AddReactionListener listen } 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 22830b8eaf..8cdde6c8ae 100644 --- a/src/main/res/values/text_styles.xml +++ b/src/main/res/values/text_styles.xml @@ -32,9 +32,9 @@