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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user