home_fragment.xml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/home_fragment"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. app:layoutDescription="@xml/home_motion_scene"
  9. tools:showPaths="true">
  10. <TextView
  11. android:id="@+id/home_fragment_time"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_marginTop="@dimen/_64sdp"
  15. android:text="@string/main_placeholder_clock"
  16. android:textAppearance="@style/TextAppearance.AppCompat"
  17. android:textSize="@dimen/_40ssp" />
  18. <TextView
  19. android:id="@+id/home_fragment_time_format"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:textAppearance="@style/TextAppearance.AppCompat"
  23. android:textSize="@dimen/_13sdp" />
  24. <TextView
  25. android:id="@+id/home_fragment_date"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:padding="@dimen/_4sdp"
  29. android:text="@string/main_placeholder_date"
  30. android:textAppearance="@style/TextAppearance.AppCompat"
  31. android:textSize="@dimen/_12sdp" />
  32. <TextView
  33. android:id="@+id/home_fragment_tasks"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:padding="@dimen/_12sdp"
  37. android:text="@string/home_fragment_tasks"
  38. android:textAppearance="@style/TextAppearance.AppCompat"
  39. android:textSize="@dimen/_24ssp" />
  40. <androidx.recyclerview.widget.RecyclerView
  41. android:id="@+id/home_fragment_list"
  42. android:layout_width="0dp"
  43. android:layout_height="wrap_content"
  44. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  45. tools:itemCount="4"
  46. tools:listitem="@layout/main_fragment_list_item" />
  47. <androidx.recyclerview.widget.RecyclerView
  48. android:id="@+id/home_fragment_list_exp"
  49. android:layout_width="0dp"
  50. android:layout_height="wrap_content"
  51. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  52. tools:itemCount="3"
  53. tools:listitem="@layout/main_fragment_list_item" />
  54. <TextView
  55. android:id="@+id/home_fragment_options"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:padding="@dimen/_8sdp"
  59. android:text="@string/main_fragment_options"
  60. android:textAppearance="@style/TextAppearance.AppCompat"
  61. android:textSize="@dimen/_18ssp" />
  62. <TextView
  63. android:id="@+id/home_fragment_notes"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:padding="8dp"
  67. android:text="@string/main_fragment_notes"
  68. android:textAppearance="@style/TextAppearance.AppCompat"
  69. android:textSize="@dimen/_18ssp" />
  70. <ImageView
  71. android:id="@+id/home_fragment_call"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:padding="@dimen/_8sdp"
  75. app:srcCompat="@drawable/ic_call"
  76. tools:ignore="ContentDescription" />
  77. <ImageView
  78. android:id="@+id/home_fragment_camera"
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:padding="@dimen/_8sdp"
  82. app:srcCompat="@drawable/ic_photo_camera"
  83. tools:ignore="ContentDescription" />
  84. </androidx.constraintlayout.motion.widget.MotionLayout>