Fix the shape of reaction pills.
This commit is contained in:
parent
73dedd79d2
commit
8f9ed4bc40
2 changed files with 6 additions and 3 deletions
|
@ -29,7 +29,8 @@ import java.util.Map;
|
||||||
|
|
||||||
public class ReactionsConversationView extends LinearLayout {
|
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 boolean outgoing;
|
||||||
private List<ReactionRecord> records;
|
private List<ReactionRecord> records;
|
||||||
|
|
|
@ -6,10 +6,12 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="1dp"
|
||||||
|
android:layout_marginEnd="1dp"
|
||||||
android:paddingStart="7dp"
|
android:paddingStart="7dp"
|
||||||
android:paddingEnd="7dp"
|
android:paddingEnd="7dp"
|
||||||
android:paddingTop="5dp"
|
android:paddingTop="3dp"
|
||||||
android:paddingBottom="5dp"
|
android:paddingBottom="3dp"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
||||||
|
|
Loading…
Add table
Reference in a new issue