Skip to content

Commit

Permalink
feat/#5: 유저의 상태메세지가 길거나 이름이 길때 말줄임표
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeeum committed Apr 10, 2024
1 parent 03a21c4 commit 8f52e11
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/main/res/layout/item_friend.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand All @@ -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"/>

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 8f52e11

Please sign in to comment.