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,51 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:backgroundTint="?attr/colorSurface"
<data>
</data>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="48dp" />
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.circularreveal.CircularRevealFrameLayout
android:id="@+id/section_layout"
android:layout_width="match_parent"
android:layout_height="0dp">
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/section_change"
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="12dp"
android:paddingEnd="12dp"
tools:ignore="UselessParent">
android:backgroundTint="?attr/colorSurface" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/section_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_weight="1"
<com.google.android.material.circularreveal.CircularRevealFrameLayout
android:id="@+id/section_layout"
android:layout_width="match_parent"
android:layout_height="0dp">
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/section_change"
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="center_vertical"
android:textSize="16sp" />
android:orientation="horizontal"
android:paddingStart="12dp"
android:paddingEnd="12dp"
tools:ignore="UselessParent">
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/section_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="20dp"
android:src="@drawable/ic_arrow_down"
tools:ignore="ContentDescription" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/section_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:textSize="16sp" />
</androidx.appcompat.widget.LinearLayoutCompat>
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/section_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="20dp"
android:src="@drawable/ic_arrow_down"
tools:ignore="ContentDescription" />
</com.google.android.material.circularreveal.CircularRevealFrameLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</com.google.android.material.circularreveal.CircularRevealFrameLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</layout>