note_fragment.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:id="@+id/note_fragment"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context="com.sduduzog.slimlauncher.ui.main.NoteFragment">
  8. <androidx.constraintlayout.widget.ConstraintLayout
  9. android:id="@+id/note_fragment_layout"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content">
  12. <TextView
  13. android:id="@+id/note_fragment_title"
  14. android:layout_width="0dp"
  15. android:layout_height="wrap_content"
  16. android:layout_marginTop="16dp"
  17. android:padding="12dp"
  18. android:text="@string/edit_note_fragment_untitled"
  19. android:textAppearance="@style/Base.TextAppearance.AppCompat"
  20. android:textSize="18sp"
  21. app:layout_constraintEnd_toStartOf="@+id/note_fragment_edit"
  22. app:layout_constraintStart_toStartOf="parent"
  23. app:layout_constraintTop_toTopOf="parent" />
  24. <TextView
  25. android:id="@+id/note_fragment_edit"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_marginTop="16dp"
  29. android:layout_marginEnd="16dp"
  30. android:layout_marginRight="16dp"
  31. android:padding="12dp"
  32. android:text="@string/note_fragment_edit"
  33. android:textSize="18sp"
  34. app:layout_constraintEnd_toEndOf="parent"
  35. app:layout_constraintTop_toTopOf="parent" />
  36. <TextView
  37. android:id="@+id/note_fragment_body"
  38. android:layout_width="0dp"
  39. android:layout_height="wrap_content"
  40. android:padding="12dp"
  41. android:textSize="14sp"
  42. android:textAppearance="@style/Base.TextAppearance.AppCompat"
  43. app:layout_constraintEnd_toEndOf="parent"
  44. app:layout_constraintStart_toStartOf="parent"
  45. app:layout_constraintTop_toBottomOf="@id/note_fragment_title" />
  46. </androidx.constraintlayout.widget.ConstraintLayout>
  47. </ScrollView>