|
@@ -5,19 +5,43 @@
|
|
|
android:id="@+id/notes_fragment"
|
|
android:id="@+id/notes_fragment"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- tools:context=".ui.notes.NotesFragment">
|
|
|
|
|
|
|
+ tools:context=".ui.main.NotesFragment">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/textView"
|
|
|
|
|
|
|
+ android:id="@+id/notes_fragment_title"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginStart="16dp"
|
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
|
- android:layout_marginTop="32dp"
|
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/_32sdp"
|
|
|
android:text="@string/main_fragment_notes"
|
|
android:text="@string/main_fragment_notes"
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
android:textSize="@dimen/_36ssp"
|
|
android:textSize="@dimen/_36ssp"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/notes_fragment_create_note"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/_8sdp"
|
|
|
|
|
+ android:padding="@dimen/_12sdp"
|
|
|
|
|
+ android:text="@string/notes_fragment_create_new_note"
|
|
|
|
|
+ android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
|
+ android:textSize="@dimen/_18ssp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/notes_fragment_title" />
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/notes_fragment_list"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/_8sdp"
|
|
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
|
+ 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.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|