|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<androidx.constraintlayout.widget.ConstraintLayout |
3 | | - xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
5 | 4 | android:layout_width="match_parent" |
6 | 5 | android:layout_height="match_parent" |
| 6 | + xmlns:tools="http://schemas.android.com/tools" |
7 | 7 | android:layout_gravity="center_vertical" |
| 8 | + android:layout_marginStart="16dp" |
8 | 9 | android:layout_marginTop="8dp" |
9 | 10 | android:layout_marginLeft="16dp" |
10 | 11 | android:layout_marginBottom="12dp" |
|
40 | 41 | android:layout_height="wrap_content" |
41 | 42 | android:layout_marginStart="16dp" |
42 | 43 | android:layout_marginEnd="16dp" |
| 44 | + android:layout_marginLeft="16dp" |
| 45 | + android:layout_marginRight="16dp" |
43 | 46 | android:layout_marginTop="16dp" |
44 | 47 | android:ellipsize="end" |
45 | 48 | android:maxLines="2" |
|
56 | 59 | android:layout_height="wrap_content" |
57 | 60 | android:layout_marginStart="16dp" |
58 | 61 | android:layout_marginEnd="16dp" |
| 62 | + android:layout_marginLeft="16dp" |
| 63 | + android:layout_marginRight="16dp" |
59 | 64 | android:layout_marginTop="8dp" |
60 | 65 | android:ellipsize="end" |
61 | 66 | android:maxLines="2" |
|
78 | 83 |
|
79 | 84 | <Button |
80 | 85 | android:id="@+id/embedded_message_first_button" |
81 | | - android:layout_width="0dp" |
| 86 | + android:layout_width="wrap_content" |
82 | 87 | android:layout_height="36dp" |
83 | 88 | android:layout_marginStart="16dp" |
84 | 89 | android:layout_marginEnd="8dp" |
| 90 | + android:layout_marginLeft="16dp" |
| 91 | + android:layout_marginRight="8dp" |
85 | 92 | android:background="@drawable/primary_card_button_background" |
86 | 93 | android:ellipsize="end" |
87 | 94 | android:paddingStart="8dp" |
88 | 95 | android:paddingEnd="8dp" |
| 96 | + android:paddingTop="0dp" |
| 97 | + android:paddingBottom="0dp" |
89 | 98 | android:singleLine="true" |
90 | 99 | android:stateListAnimator="@null" |
91 | 100 | android:textAllCaps="false" |
92 | 101 | android:textColor="@color/white" |
93 | | - app:cornerRadius="32dp" /> |
| 102 | + app:cornerRadius="32dp" |
| 103 | + tools:ignore="Suspicious0dp"/> |
94 | 104 |
|
95 | 105 | <Button |
96 | 106 | android:id="@+id/embedded_message_second_button" |
97 | 107 | android:layout_width="0dp" |
98 | 108 | android:layout_height="36dp" |
99 | 109 | android:layout_marginEnd="16dp" |
| 110 | + android:layout_marginLeft="16dp" |
| 111 | + android:layout_marginRight="16dp" |
| 112 | + android:paddingTop="0dp" |
| 113 | + android:paddingBottom="0dp" |
100 | 114 | android:layout_weight="1" |
101 | 115 | android:background="@drawable/secondary_card_button_background" |
102 | 116 | android:ellipsize="end" |
|
0 commit comments