Fix trending tags being cut off (#3745)

Fixes https://github.com/tuskyapp/Tusky/issues/3742
This commit is contained in:
Konrad Pozniak 2023-06-15 11:27:57 +02:00 committed by GitHub
parent 885b54a683
commit 9fedb6d5b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -80,14 +80,13 @@
android:id="@+id/tag" android:id="@+id/tag"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="none" android:ellipsize="end"
android:importantForAccessibility="no" android:importantForAccessibility="no"
android:singleLine="true" android:singleLine="true"
android:textAlignment="textStart" android:textAlignment="textStart"
android:textAppearance="?android:attr/textAppearanceListItem" android:textAppearance="?android:attr/textAppearanceListItem"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textStyle="normal" android:textStyle="normal"
app:layout_constrainedWidth="true"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
tools:text="#itishashtagtuesdayitishashtagtuesday" /> tools:text="#itishashtagtuesdayitishashtagtuesday" />

View file

@ -80,14 +80,13 @@
android:id="@+id/tag" android:id="@+id/tag"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="none" android:ellipsize="end"
android:importantForAccessibility="no" android:importantForAccessibility="no"
android:singleLine="true" android:singleLine="true"
android:textAlignment="textStart" android:textAlignment="textStart"
android:textAppearance="?android:attr/textAppearanceListItem" android:textAppearance="?android:attr/textAppearanceListItem"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textStyle="normal" android:textStyle="normal"
app:layout_constrainedWidth="true"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
tools:text="#itishashtagtuesdayitishashtagtuesday" /> tools:text="#itishashtagtuesdayitishashtagtuesday" />
@ -107,7 +106,7 @@
app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tag" app:layout_constraintTop_toBottomOf="@id/tag"
tools:text="12 345" /> tools:text="12 34" />
<TextView <TextView
android:id="@+id/usageLabel" android:id="@+id/usageLabel"