Update: Migrate from viewBinding to dataBinding

This commit is contained in:
machiav3lli
2021-12-13 02:53:34 +01:00
parent 758649c8c2
commit 011cf6a41f
14 changed files with 747 additions and 662 deletions

View File

@ -1,23 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingHorizontal="16dp"
android:paddingVertical="8dp">
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
<data>
</data>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?android:attr/textColorPrimary"
android:textSize="12sp" />
android:orientation="vertical"
android:paddingHorizontal="16dp"
android:paddingVertical="8dp">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textSize="16sp" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?android:attr/textColorPrimary"
android:textSize="12sp" />
</androidx.appcompat.widget.LinearLayoutCompat>
<com.google.android.material.textview.MaterialTextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textSize="16sp" />
</androidx.appcompat.widget.LinearLayoutCompat>
</layout>