Skip to content

Commit abcbc35

Browse files
committed
allow showing contacts name on multiple lines
1 parent 42b84ea commit abcbc35

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,11 @@
111111
android:layout_centerVertical="true"
112112
android:layout_toEndOf="@+id/contact_name_image"
113113
android:background="?attr/selectableItemBackground"
114-
android:lines="1"
115-
android:maxLines="1"
114+
android:maxLines="2"
116115
android:paddingStart="@dimen/small_margin"
117116
android:paddingTop="@dimen/normal_margin"
118117
android:paddingEnd="@dimen/normal_margin"
119118
android:paddingBottom="@dimen/normal_margin"
120-
android:singleLine="true"
121119
android:textSize="@dimen/bigger_text_size"
122120
android:tooltipText="John Doe" />
123121

0 commit comments

Comments
 (0)