home_motion_01.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:ignore="MotionLayoutInvalidSceneFileReference">
  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/_42sdp"
  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_date"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:padding="@dimen/_4sdp"
  25. android:text="@string/main_placeholder_date"
  26. android:textAppearance="@style/TextAppearance.AppCompat"
  27. android:textSize="@dimen/_12sdp"
  28. app:layout_constraintEnd_toEndOf="@+id/home_fragment_time"
  29. app:layout_constraintStart_toStartOf="@+id/home_fragment_time"
  30. app:layout_constraintTop_toBottomOf="@+id/home_fragment_time" />
  31. <androidx.recyclerview.widget.RecyclerView
  32. android:id="@+id/home_fragment_list"
  33. android:layout_width="0dp"
  34. android:layout_height="wrap_content"
  35. android:layout_marginStart="@dimen/_16sdp"
  36. android:layout_marginLeft="@dimen/_16sdp"
  37. android:layout_marginTop="8dp"
  38. android:layout_marginEnd="@dimen/_16sdp"
  39. android:layout_marginRight="@dimen/_16sdp"
  40. android:layout_marginBottom="@dimen/_8sdp"
  41. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  42. app:layout_constraintBottom_toBottomOf="parent"
  43. app:layout_constraintEnd_toEndOf="parent"
  44. app:layout_constraintHorizontal_bias="0.0"
  45. app:layout_constraintStart_toStartOf="parent"
  46. app:layout_constraintTop_toTopOf="parent"
  47. app:layout_constraintVertical_bias="0.55"
  48. tools:itemCount="4"
  49. tools:listitem="@layout/main_fragment_list_item" />
  50. <androidx.recyclerview.widget.RecyclerView
  51. android:id="@+id/home_fragment_list_exp"
  52. android:layout_width="0dp"
  53. android:layout_height="wrap_content"
  54. android:layout_marginStart="@dimen/_16sdp"
  55. android:layout_marginLeft="@dimen/_16sdp"
  56. android:layout_marginTop="@dimen/_16sdp"
  57. android:layout_marginEnd="@dimen/_16sdp"
  58. android:layout_marginRight="@dimen/_16sdp"
  59. android:layout_marginBottom="@dimen/_8sdp"
  60. android:alpha="-2"
  61. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  62. app:layout_constraintEnd_toEndOf="parent"
  63. app:layout_constraintHorizontal_bias="0.5"
  64. app:layout_constraintStart_toStartOf="parent"
  65. app:layout_constraintTop_toBottomOf="parent"
  66. tools:itemCount="4"
  67. tools:listitem="@layout/main_fragment_list_item" />
  68. <TextView
  69. android:id="@+id/home_fragment_options"
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:alpha="-3"
  73. android:padding="@dimen/_8sdp"
  74. android:text="@string/main_fragment_options"
  75. android:textAppearance="@style/TextAppearance.AppCompat"
  76. android:textSize="@dimen/_18ssp"
  77. app:layout_constraintBottom_toBottomOf="parent"
  78. app:layout_constraintStart_toStartOf="@+id/home_fragment_list_exp"
  79. app:layout_constraintTop_toBottomOf="@+id/home_fragment_list_exp" />
  80. <TextView
  81. android:id="@+id/home_fragment_apps"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:alpha="-3"
  85. android:padding="@dimen/_8sdp"
  86. android:text="@string/main_fragment_apps"
  87. android:textAppearance="@style/TextAppearance.AppCompat"
  88. android:textSize="@dimen/_18ssp"
  89. app:layout_constraintBottom_toBottomOf="parent"
  90. app:layout_constraintEnd_toEndOf="@+id/home_fragment_list_exp"
  91. app:layout_constraintTop_toBottomOf="@+id/home_fragment_list_exp" />
  92. <ImageView
  93. android:id="@+id/home_fragment_call"
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:layout_marginStart="@dimen/_8sdp"
  97. android:layout_marginBottom="@dimen/_8sdp"
  98. android:padding="@dimen/_8sdp"
  99. app:layout_constraintBottom_toBottomOf="parent"
  100. app:layout_constraintStart_toStartOf="parent"
  101. app:srcCompat="@drawable/ic_call"
  102. tools:ignore="ContentDescription" />
  103. <ImageView
  104. android:id="@+id/home_fragment_camera"
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_marginEnd="@dimen/_8sdp"
  108. android:layout_marginBottom="@dimen/_8sdp"
  109. android:padding="@dimen/_8sdp"
  110. app:layout_constraintBottom_toBottomOf="parent"
  111. app:layout_constraintEnd_toEndOf="parent"
  112. app:srcCompat="@drawable/ic_photo_camera"
  113. tools:ignore="ContentDescription" />
  114. </androidx.constraintlayout.motion.widget.MotionLayout>