
Dumpster Inter in favor of Roboto. This is mostly for three reasons: 1. Reduces the insane typography setup that Auxio uses 2. Reduces total app size since .ttf files are pretty large and the dynamic fonts feature was proprietary. 3. Creates a more cohesive look and feel given that nearly every android app also uses Roboto.
36 lines
No EOL
1.3 KiB
XML
36 lines
No EOL
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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"
|
|
tools:context=".ui.HeaderViewHolder">
|
|
|
|
<data>
|
|
|
|
<variable
|
|
name="header"
|
|
type="org.oxycblt.auxio.music.Header" />
|
|
</data>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@android:id/title"
|
|
style="@style/Widget.Auxio.TextView.Header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@{context.getString(header.string)}"
|
|
app:layout_constraintBottom_toTopOf="@id/header_divider"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="Songs" />
|
|
|
|
<com.google.android.material.divider.MaterialDivider
|
|
android:id="@+id/header_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</layout> |