Refactor the styling again to make all styles start with the Auxio prefix. Also try to phase out the usage of layout_width and layout_height in most places, since those can cause a lot of frustration if they aren't used in the layout they are expected in.
20 lines
593 B
XML
20 lines
593 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:context=".ui.HeaderViewHolder">
|
|
|
|
<data>
|
|
|
|
<variable
|
|
name="header"
|
|
type="org.oxycblt.auxio.music.Header" />
|
|
</data>
|
|
|
|
<TextView
|
|
android:id="@android:id/title"
|
|
style="@style/Widget.Auxio.TextView.Header"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:text="@{header.name}"
|
|
tools:text="Songs" />
|
|
</layout> |