home_motion_start.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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/linearLayout2"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8. <TextView
  9. android:id="@+id/home_fragment_time"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_marginTop="@dimen/_64sdp"
  13. android:text="@string/main_placeholder_clock"
  14. android:textAppearance="@style/TextAppearance.AppCompat"
  15. android:textSize="@dimen/_40ssp"
  16. app:layout_constraintEnd_toEndOf="parent"
  17. app:layout_constraintHorizontal_bias="0.506"
  18. app:layout_constraintStart_toStartOf="parent"
  19. app:layout_constraintTop_toTopOf="parent" />
  20. <TextView
  21. android:id="@+id/home_fragment_time_format"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_marginTop="@dimen/_10sdp"
  25. android:textAppearance="@style/TextAppearance.AppCompat"
  26. android:textSize="@dimen/_13sdp"
  27. app:layout_constraintStart_toEndOf="@+id/home_fragment_time"
  28. app:layout_constraintTop_toTopOf="@+id/home_fragment_time" />
  29. <TextView
  30. android:id="@+id/home_fragment_date"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:padding="@dimen/_4sdp"
  34. android:text="@string/main_placeholder_date"
  35. android:textAppearance="@style/TextAppearance.AppCompat"
  36. android:textSize="@dimen/_12sdp"
  37. app:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
  38. app:layout_constraintStart_toStartOf="@+id/home_fragment_time"
  39. app:layout_constraintTop_toBottomOf="@+id/home_fragment_time" />
  40. <TextView
  41. android:id="@+id/home_fragment_tasks"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:layout_marginBottom="@dimen/_4sdp"
  45. android:padding="@dimen/_12sdp"
  46. android:text="@string/home_fragment_tasks"
  47. android:textAppearance="@style/TextAppearance.AppCompat"
  48. android:textSize="@dimen/_24ssp"
  49. app:layout_constraintBottom_toTopOf="@+id/home_fragment_list"
  50. app:layout_constraintStart_toStartOf="@+id/home_fragment_list" />
  51. <androidx.recyclerview.widget.RecyclerView
  52. android:id="@+id/home_fragment_list"
  53. android:layout_width="0dp"
  54. android:layout_height="wrap_content"
  55. android:layout_marginStart="@dimen/_16sdp"
  56. android:layout_marginLeft="@dimen/_16sdp"
  57. android:layout_marginTop="@dimen/_32sdp"
  58. android:layout_marginEnd="@dimen/_16sdp"
  59. android:layout_marginRight="@dimen/_16sdp"
  60. android:layout_marginBottom="@dimen/_8sdp"
  61. app:layout_constraintBottom_toBottomOf="parent"
  62. app:layout_constraintEnd_toEndOf="parent"
  63. app:layout_constraintHorizontal_bias="0.0"
  64. app:layout_constraintStart_toStartOf="parent"
  65. app:layout_constraintTop_toTopOf="@+id/home_fragment_time"
  66. app:layout_constraintVertical_bias="0.650"
  67. tools:itemCount="4"
  68. tools:listitem="@layout/main_fragment_list_item" />
  69. <androidx.recyclerview.widget.RecyclerView
  70. android:id="@+id/home_fragment_list_exp"
  71. android:layout_width="0dp"
  72. android:layout_height="wrap_content"
  73. android:layout_marginStart="@dimen/_16sdp"
  74. android:layout_marginLeft="@dimen/_16sdp"
  75. android:layout_marginEnd="@dimen/_16sdp"
  76. android:alpha="-2"
  77. android:layout_marginRight="@dimen/_16sdp"
  78. android:layout_marginBottom="@dimen/_8sdp"
  79. android:layout_marginTop="@dimen/_16sdp"
  80. app:layout_constraintEnd_toEndOf="parent"
  81. app:layout_constraintHorizontal_bias="0.5"
  82. app:layout_constraintStart_toStartOf="parent"
  83. app:layout_constraintTop_toBottomOf="parent"
  84. tools:itemCount="3"
  85. tools:listitem="@layout/main_fragment_list_item" />
  86. <TextView
  87. android:id="@+id/home_fragment_options"
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:padding="@dimen/_8sdp"
  91. android:text="@string/main_fragment_options"
  92. android:alpha="-3"
  93. android:textAppearance="@style/TextAppearance.AppCompat"
  94. android:textSize="@dimen/_18ssp"
  95. app:layout_constraintBottom_toBottomOf="parent"
  96. app:layout_constraintStart_toStartOf="@+id/home_fragment_list_exp"
  97. app:layout_constraintTop_toBottomOf="@+id/home_fragment_list_exp" />
  98. <TextView
  99. android:id="@+id/home_fragment_notes"
  100. android:layout_width="wrap_content"
  101. android:layout_height="wrap_content"
  102. android:padding="@dimen/_8sdp"
  103. android:text="@string/main_fragment_notes"
  104. android:alpha="-3"
  105. android:textAppearance="@style/TextAppearance.AppCompat"
  106. android:textSize="@dimen/_18ssp"
  107. app:layout_constraintBottom_toBottomOf="parent"
  108. app:layout_constraintEnd_toEndOf="@+id/home_fragment_list_exp"
  109. app:layout_constraintTop_toBottomOf="@+id/home_fragment_list_exp" />
  110. <ImageView
  111. android:id="@+id/home_fragment_call"
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:layout_marginStart="@dimen/_8sdp"
  115. android:layout_marginLeft="@dimen/_8sdp"
  116. android:layout_marginBottom="@dimen/_8sdp"
  117. android:padding="@dimen/_8sdp"
  118. app:layout_constraintBottom_toBottomOf="parent"
  119. app:layout_constraintStart_toStartOf="parent"
  120. app:srcCompat="@drawable/ic_call"
  121. tools:ignore="ContentDescription" />
  122. <ImageView
  123. android:id="@+id/home_fragment_camera"
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:layout_marginEnd="@dimen/_8sdp"
  127. android:layout_marginRight="@dimen/_8sdp"
  128. android:layout_marginBottom="@dimen/_8sdp"
  129. android:padding="@dimen/_8sdp"
  130. app:layout_constraintBottom_toBottomOf="parent"
  131. app:layout_constraintEnd_toEndOf="parent"
  132. app:srcCompat="@drawable/ic_photo_camera"
  133. tools:ignore="ContentDescription" />
  134. </androidx.constraintlayout.widget.ConstraintLayout>