make the suggested contact names span across 2 lines max

This commit is contained in:
tibbi 2021-11-27 20:56:05 +01:00
parent 36d7d94ecc
commit fa26ccc688

View File

@ -11,8 +11,7 @@
android:layout_width="@dimen/bigger_avatar_size"
android:layout_height="@dimen/bigger_avatar_size"
android:paddingStart="@dimen/tiny_margin"
android:paddingEnd="@dimen/tiny_margin"
tools:src="@drawable/ic_circle_filled" />
android:paddingEnd="@dimen/tiny_margin" />
<TextView
android:id="@+id/suggested_contact_name"
@ -23,7 +22,7 @@
android:layout_alignEnd="@id/suggested_contact_image"
android:ellipsize="end"
android:gravity="center_horizontal"
android:lines="1"
android:maxLines="2"
android:paddingTop="@dimen/medium_margin"
android:paddingBottom="@dimen/medium_margin"
android:textSize="@dimen/normal_text_size"