Skip to content

Commit

Permalink
Fix the shape of reaction pills.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Feb 5, 2020
1 parent 73dedd7 commit 8f9ed4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@

public class ReactionsConversationView extends LinearLayout {

private static final int OUTER_MARGIN = ViewUtil.dpToPx(6);
// Normally 6dp, but we have 1dp left+right margin on the pills themselves
private static final int OUTER_MARGIN = ViewUtil.dpToPx(5);

private boolean outgoing;
private List<ReactionRecord> records;
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/res/layout/reactions_pill.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginEnd="1dp"
android:paddingStart="7dp"
android:paddingEnd="7dp"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:paddingTop="3dp"
android:paddingBottom="3dp"
android:gravity="center">

<org.thoughtcrime.securesms.components.emoji.EmojiTextView
Expand Down

0 comments on commit 8f9ed4b

Please sign in to comment.