Skip to content

Commit

Permalink
improve alignment of labels in landscape item_trending_cell
Browse files Browse the repository at this point in the history
  • Loading branch information
connyduck committed Jan 22, 2025
1 parent 2a92f7a commit 192816b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/src/main/res/layout-land/item_trending_cell.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,15 @@
android:id="@+id/usageLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginStart="5dp"
android:importantForAccessibility="no"
android:text="@string/total_usage"
android:textAlignment="textEnd"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:textColorTertiary"
app:layout_constrainedWidth="false"
app:layout_constraintBaseline_toBaselineOf="@+id/total_usage"
app:layout_constraintBottom_toBottomOf="@+id/total_usage"
app:layout_constraintTop_toTopOf="@+id/total_usage"
app:layout_constraintStart_toEndOf="@id/barrier2" />

<TextView
Expand All @@ -143,13 +144,14 @@
android:id="@+id/accountsLabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginStart="5dp"
android:importantForAccessibility="no"
android:text="@string/total_accounts"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:textColorTertiary"
app:layout_constrainedWidth="true"
app:layout_constraintBaseline_toBaselineOf="@+id/total_accounts"
app:layout_constraintBottom_toBottomOf="@+id/total_accounts"
app:layout_constraintTop_toTopOf="@+id/total_accounts"
app:layout_constraintStart_toEndOf="@id/barrier2" />

<androidx.constraintlayout.widget.Barrier
Expand Down

0 comments on commit 192816b

Please sign in to comment.