| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?xml version="1.0" encoding="utf-8"?>
- <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:id="@+id/notes_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".ui.notes.NotesFragment">
- <TextView
- android:id="@+id/notes_fragment_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginLeft="16dp"
- android:layout_marginTop="@dimen/_8sdp"
- android:text="@string/main_fragment_notes"
- android:textAppearance="@style/TextAppearance.AppCompat"
- android:textSize="@dimen/_36ssp"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/notes_fragment_create_note"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:padding="12dp"
- android:text="@string/notes_fragment_create_new_note"
- android:textSize="18sp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/notes_fragment_list"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginTop="@dimen/_8sdp"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/notes_fragment_create_note"
- tools:listitem="@layout/notes_fragment_list_item">
- </androidx.recyclerview.widget.RecyclerView>
- <TextView
- android:id="@+id/notes_fragment_counter"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:background="?attr/colorPrimary"
- android:gravity="center"
- android:textSize="@dimen/_64ssp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/notes_fragment_create_note"
- tools:visibility="gone" />
- </androidx.constraintlayout.widget.ConstraintLayout>
|