styles: refactor styles

Refactor styles again, this time trying to seperate the more
layout-specific attributes so that layouts become more re-usable.
This also updates the naming conventions of styles.
This commit is contained in:
OxygenCobalt
2021-08-06 09:36:56 -06:00
parent b51ec756de
commit 828ab3ccee
101 changed files with 2000 additions and 1948 deletions
@@ -18,7 +18,9 @@
<TextView
android:id="@+id/header_title"
style="@style/HeaderText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Widget.TextView.Header"
android:text="@{header.name}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -26,7 +28,9 @@
<ImageButton
android:id="@+id/header_button"
style="@style/HeaderAction"
android:layout_width="0dp"
android:layout_height="wrap_content"
style="@style/Widget.Button.Unbounded.Small"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/header_title"