|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
@ -10,22 +9,33 @@ |
|
|
|
|
android:id="@+id/title" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:text="Data List" |
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
android:layout_marginEnd="8dp" |
|
|
|
|
android:text="Data List" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
android:layout_marginStart="8dp"/> |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
|
android:id="@+id/recyclerView" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title" /> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
|
|
android:id="@+id/addButton" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:src="@drawable/ic_add_white_24dp" |
|
|
|
|
app:fabSize="normal" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
android:layout_marginTop="8dp"/> |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" /> |
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |