home_fragment_content.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <merge 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. tools:showIn="@layout/home_fragment_default">
  6. <EditText
  7. android:id="@+id/app_drawer_edit_text"
  8. android:layout_width="0dp"
  9. android:layout_height="wrap_content"
  10. android:layout_marginStart="8dp"
  11. android:layout_marginLeft="8dp"
  12. android:layout_marginTop="32dp"
  13. android:layout_marginEnd="8dp"
  14. android:layout_marginRight="8dp"
  15. android:ems="10"
  16. android:hint="@string/add_apps_fragment_search_apps"
  17. android:imeOptions="actionDone"
  18. android:inputType="none|textNoSuggestions|textCapWords"
  19. android:textSize="@dimen/_18ssp"
  20. tools:ignore="Autofill,LabelFor" />
  21. <ImageView
  22. android:id="@+id/home_fragment_call"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:padding="@dimen/_8sdp"
  26. app:srcCompat="@drawable/ic_call"
  27. tools:ignore="ContentDescription" />
  28. <ImageView
  29. android:id="@+id/home_fragment_camera"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:padding="@dimen/_8sdp"
  33. app:srcCompat="@drawable/ic_photo_camera"
  34. tools:ignore="ContentDescription" />
  35. <ImageView
  36. android:id="@+id/home_fragment_options"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:padding="@dimen/_8sdp"
  40. app:srcCompat="@drawable/ic_cog"
  41. tools:ignore="ContentDescription" />
  42. <TextView
  43. android:id="@+id/home_fragment_time"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_marginTop="@dimen/_64sdp"
  47. android:text="@string/main_placeholder_clock"
  48. android:textAppearance="@style/TextAppearance.AppCompat"
  49. android:textSize="@dimen/_40ssp" />
  50. <TextView
  51. android:id="@+id/home_fragment_date"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:padding="@dimen/_4sdp"
  55. android:text="@string/main_placeholder_date"
  56. android:textAppearance="@style/TextAppearance.AppCompat"
  57. android:textSize="@dimen/_12sdp" />
  58. <androidx.recyclerview.widget.RecyclerView
  59. android:id="@+id/home_fragment_list"
  60. android:layout_width="0dp"
  61. android:layout_height="wrap_content"
  62. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  63. tools:itemCount="3"
  64. tools:listitem="@layout/main_fragment_list_item" />
  65. <androidx.recyclerview.widget.RecyclerView
  66. android:id="@+id/home_fragment_list_exp"
  67. android:layout_width="0dp"
  68. android:layout_height="wrap_content"
  69. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  70. tools:itemCount="3"
  71. tools:listitem="@layout/main_fragment_list_item" />
  72. <androidx.recyclerview.widget.RecyclerView
  73. android:id="@+id/app_drawer_fragment_list"
  74. android:layout_width="0dp"
  75. android:layout_height="0dp"
  76. android:layout_marginStart="8dp"
  77. android:layout_marginLeft="8dp"
  78. android:layout_marginEnd="8dp"
  79. android:layout_marginRight="8dp"
  80. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  81. tools:listitem="@layout/add_app_fragment_list_item" />
  82. </merge>