style: tweak body typography

Apply body typography in new places in the app.

For awhile, Body and Title typography were used interchangeably, as
they occupy the same text size range. This commit defines the Body
text as to be used for one-line widgets or tertiary widgets, while
the Title text is defined to be used for multi-line or heading widgets.
This commit is contained in:
OxygenCobalt
2022-02-08 06:23:43 -07:00
parent 4a326cc4ff
commit f4217a337a
7 changed files with 47 additions and 21 deletions
+1 -2
View File
@@ -40,8 +40,7 @@
android:imeOptions="actionSearch|flagNoExtractUi"
android:inputType="textFilter"
android:paddingStart="0dp"
android:paddingEnd="0dp"
android:textAppearance="@style/TextAppearance.Auxio.TitleMedium" />
android:paddingEnd="0dp" />
</com.google.android.material.textfield.TextInputLayout>
+1 -1
View File
@@ -38,7 +38,7 @@
android:minWidth="@dimen/size_track_number"
android:text="@{@string/fmt_track(song.track)}"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Auxio.TitleMedium"
android:textAppearance="@style/TextAppearance.Auxio.BodyLarge"
android:textColor="@color/sel_accented_secondary"
android:textSize="@dimen/text_size_ext_title_mid_larger"
app:layout_constraintBottom_toBottomOf="parent"
+1 -1
View File
@@ -53,7 +53,7 @@
<TextView
android:id="@+id/song_duration"
style="@style/Widget.Auxio.TextView.Item.Secondary"
style="@style/Widget.Auxio.TextView.Item.Tertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="none"
@@ -15,6 +15,7 @@
android:id="@+id/excluded_path"
style="@style/Widget.Auxio.TextView.Item.Primary"
android:layout_width="0dp"
android:textAppearance="@style/TextAppearance.Auxio.BodyLarge"
android:layout_height="wrap_content"
android:layout_margin="@dimen/spacing_medium"
android:gravity="center"
+1 -1
View File
@@ -53,7 +53,7 @@
<TextView
android:id="@+id/song_duration"
style="@style/Widget.Auxio.TextView.Item.Secondary"
style="@style/Widget.Auxio.TextView.Item.Tertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="none"