Skip to content

Commit fa26ccc

Browse files
committed
make the suggested contact names span across 2 lines max
1 parent 36d7d94 commit fa26ccc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/main/res/layout/item_suggested_contact.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
android:layout_width="@dimen/bigger_avatar_size"
1212
android:layout_height="@dimen/bigger_avatar_size"
1313
android:paddingStart="@dimen/tiny_margin"
14-
android:paddingEnd="@dimen/tiny_margin"
15-
tools:src="@drawable/ic_circle_filled" />
14+
android:paddingEnd="@dimen/tiny_margin" />
1615

1716
<TextView
1817
android:id="@+id/suggested_contact_name"
@@ -23,7 +22,7 @@
2322
android:layout_alignEnd="@id/suggested_contact_image"
2423
android:ellipsize="end"
2524
android:gravity="center_horizontal"
26-
android:lines="1"
25+
android:maxLines="2"
2726
android:paddingTop="@dimen/medium_margin"
2827
android:paddingBottom="@dimen/medium_margin"
2928
android:textSize="@dimen/normal_text_size"

0 commit comments

Comments
 (0)