diff --git a/app/src/main/res/layout/item_friend.xml b/app/src/main/res/layout/item_friend.xml index 2b3bf0d..93d9c95 100644 --- a/app/src/main/res/layout/item_friend.xml +++ b/app/src/main/res/layout/item_friend.xml @@ -25,6 +25,8 @@ android:text="친구의 이름" android:textSize="16sp" android:textStyle="bold" + android:maxLines="1" + android:ellipsize="end" app:layout_constraintBottom_toBottomOf="@id/iv_profile" app:layout_constraintStart_toEndOf="@id/iv_profile" app:layout_constraintTop_toTopOf="@id/iv_profile" /> @@ -33,11 +35,13 @@ android:id="@+id/tv_self_description" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginEnd="20dp" + android:layout_marginHorizontal="20dp" android:maxLines="1" + android:ellipsize="end" android:text="친구의 대화명" app:layout_constraintBottom_toBottomOf="@id/iv_profile" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="@id/iv_profile" /> + app:layout_constraintTop_toTopOf="@id/iv_profile" + app:layout_constraintStart_toEndOf="@+id/tv_name"/> \ No newline at end of file