Skip to content

Commit

Permalink
Twelve: Change default size/style for horizontal_list_item
Browse files Browse the repository at this point in the history
Seems to match YT music

Change-Id: I456dbfed36dc66efc620fb3f491bd5145c27e82f
  • Loading branch information
luca020400 authored and SebaUbuntu committed Oct 30, 2024
1 parent c86bec6 commit de62c11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/src/main/res/layout/horizontal_list_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="128dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
Expand All @@ -31,7 +32,9 @@
android:ellipsize="end"
android:hyphenationFrequency="normal"
android:maxLines="1"
android:textAppearance="?attr/textAppearanceBodyLarge" />
android:textAppearance="?attr/textAppearanceLabelMedium"
android:textColor="?attr/colorOnSurface"
tools:text="Headline" />

<TextView
android:id="@+id/supportingTextView"
Expand All @@ -40,6 +43,8 @@
android:ellipsize="end"
android:hyphenationFrequency="normal"
android:maxLines="1"
android:textAppearance="?attr/textAppearanceBodyMedium" />
android:textAppearance="?attr/textAppearanceLabelMedium"
android:textColor="?attr/colorOnSurfaceVariant"
tools:text="Supporting" />

</LinearLayout>

0 comments on commit de62c11

Please sign in to comment.