Skip to content

Commit 4880677

Browse files
committed
fix: RouteDetailFragment에서 text가 짤려 보이던 버그 수정
1 parent 2b13d69 commit 4880677

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

presentation/src/main/res/layout/dialog_progress.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
android:layout_width="wrap_content"
2222
android:layout_height="wrap_content"
2323
android:text="@string/loading_text"
24-
android:textColor="@color/black"
25-
android:textStyle="bold"
24+
android:textColor="@color/main_dark_grey"
2625
app:layout_constraintEnd_toEndOf="@id/circular_progress"
2726
app:layout_constraintStart_toStartOf="@id/circular_progress"
2827
app:layout_constraintTop_toBottomOf="@id/circular_progress" />

presentation/src/main/res/layout/route_first_item.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,20 @@
4545

4646
<TextView
4747
android:id="@+id/text_view_name"
48-
android:layout_width="wrap_content"
48+
android:layout_width="0dp"
4949
android:layout_height="wrap_content"
5050
android:layout_marginStart="10dp"
5151
android:text="@{routeItem.name}"
5252
android:textColor="@color/main_dark_grey"
5353
android:textSize="15sp"
54+
android:ellipsize="end"
55+
android:maxLines="1"
5456
android:gravity="center_vertical"
5557
app:layout_constraintStart_toEndOf="@id/text_view_start"
58+
app:layout_constraintEnd_toEndOf="@id/guideline_end"
5659
app:layout_constraintTop_toTopOf="@id/image_view_current_line"
5760
app:layout_constraintBottom_toBottomOf="@id/image_view_current_line"
61+
app:layout_constraintHorizontal_bias="0"
5862
tools:text="이엔씨벤쳐드림타워3차" />
5963

6064
<View

presentation/src/main/res/layout/route_last_item.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,20 @@
4545

4646
<TextView
4747
android:id="@+id/text_view_name"
48-
android:layout_width="wrap_content"
48+
android:layout_width="0dp"
4949
android:layout_height="wrap_content"
5050
android:layout_marginStart="10dp"
5151
android:text="@{routeItem.name}"
5252
android:textColor="@color/main_dark_grey"
5353
android:textSize="15sp"
54+
android:ellipsize="end"
55+
android:maxLines="1"
5456
android:gravity="center_vertical"
5557
app:layout_constraintStart_toEndOf="@id/text_view_start"
58+
app:layout_constraintEnd_toEndOf="@id/guideline_end"
5659
app:layout_constraintTop_toTopOf="@id/image_view_current_line"
5760
app:layout_constraintBottom_toBottomOf="@id/image_view_current_line"
61+
app:layout_constraintHorizontal_bias="0"
5862
tools:text="Naver1784" />
5963

6064
<View

presentation/src/main/res/layout/route_path_item.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,20 @@
3434

3535
<TextView
3636
android:id="@+id/text_view_name"
37-
android:layout_width="wrap_content"
37+
android:layout_width="0dp"
3838
android:layout_height="wrap_content"
3939
android:layout_marginStart="15dp"
4040
android:text="@{routeItem.name}"
4141
android:textColor="@color/main_dark_grey"
4242
android:textSize="15sp"
43+
android:ellipsize="end"
44+
android:maxLines="1"
4345
android:gravity="center_vertical"
4446
app:layout_constraintStart_toEndOf="@id/image_view_current_line"
47+
app:layout_constraintEnd_toEndOf="@id/guideline_end"
4548
app:layout_constraintTop_toTopOf="@id/image_view_current_line"
4649
app:layout_constraintBottom_toBottomOf="@id/image_view_current_line"
50+
app:layout_constraintHorizontal_bias="0"
4751
tools:text="이엔씨드림타워3차" />
4852

4953
<TextView

0 commit comments

Comments
 (0)