Skip to content

Commit 8ddcc3a

Browse files
committed
fix hide all show all buttons when with long text
1 parent ec510c3 commit 8ddcc3a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

feature_dialogs/src/main/res/layout/chart_filter_dialog_fragment.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
android:layout_height="wrap_content"
5656
android:layout_marginStart="8dp"
5757
android:layout_marginEnd="4dp"
58+
android:ellipsize="marquee"
59+
android:paddingHorizontal="0dp"
60+
android:singleLine="true"
5861
android:text="@string/types_filter_show_all"
5962
android:textColor="@color/white"
6063
app:backgroundTint="?appInactiveColor"
@@ -68,6 +71,9 @@
6871
android:layout_height="wrap_content"
6972
android:layout_marginStart="4dp"
7073
android:layout_marginEnd="8dp"
74+
android:ellipsize="marquee"
75+
android:paddingHorizontal="0dp"
76+
android:singleLine="true"
7177
android:text="@string/types_filter_hide_all"
7278
android:textColor="@color/white"
7379
app:backgroundTint="?appInactiveColor"

feature_dialogs/src/main/res/layout/types_filter_dialog_fragment.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
android:layout_height="wrap_content"
3636
android:layout_marginStart="8dp"
3737
android:layout_marginEnd="4dp"
38+
android:ellipsize="marquee"
39+
android:paddingHorizontal="0dp"
40+
android:singleLine="true"
3841
android:text="@string/types_filter_show_all"
3942
android:textColor="@color/white"
4043
app:backgroundTint="?appInactiveColor"
@@ -48,6 +51,9 @@
4851
android:layout_height="wrap_content"
4952
android:layout_marginStart="4dp"
5053
android:layout_marginEnd="8dp"
54+
android:ellipsize="marquee"
55+
android:paddingHorizontal="0dp"
56+
android:singleLine="true"
5157
android:text="@string/types_filter_hide_all"
5258
android:textColor="@color/white"
5359
app:backgroundTint="?appInactiveColor"

0 commit comments

Comments
 (0)