fragment_search_result.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8. <android.support.constraint.ConstraintLayout
  9. android:id="@+id/container_top"
  10. android:layout_width="match_parent"
  11. android:layout_height="52dp"
  12. app:layout_constraintTop_toTopOf="parent"
  13. >
  14. <android.support.constraint.ConstraintLayout
  15. android:id="@+id/container_navigation_bar"
  16. android:layout_width="match_parent"
  17. android:layout_height="52dp">
  18. </android.support.constraint.ConstraintLayout>
  19. <android.support.v7.widget.RecyclerView
  20. android:id="@+id/recycler_view_tag"
  21. android:layout_width="0dp"
  22. android:layout_height="wrap_content"
  23. android:layout_marginStart="42dp"
  24. app:layout_constraintBottom_toBottomOf="parent"
  25. app:layout_constraintEnd_toEndOf="parent"
  26. app:layout_constraintStart_toStartOf="parent"
  27. app:layout_constraintTop_toTopOf="parent"/>
  28. </android.support.constraint.ConstraintLayout>
  29. <android.support.design.widget.CoordinatorLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="0dp"
  32. app:layout_constrainedHeight="true"
  33. app:layout_constraintBottom_toBottomOf="parent"
  34. app:layout_constraintTop_toBottomOf="@+id/container_top">
  35. <android.support.design.widget.AppBarLayout
  36. android:id="@+id/app_bar_layout"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:background="@color/CFFFFFF"
  40. app:elevation="0dp"
  41. >
  42. <android.support.design.widget.CollapsingToolbarLayout
  43. android:id="@+id/collapsing_tool_bar"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:background="@color/CFFFFFF"
  47. app:layout_scrollFlags="scroll|exitUntilCollapsed">
  48. <android.support.v7.widget.Toolbar
  49. android:id="@+id/toolbar_invisible"
  50. android:layout_width="match_parent"
  51. tools:background="@color/CF6F6F6"
  52. android:layout_height="35dp"
  53. android:layout_gravity="center"
  54. android:background="@null"
  55. android:visibility="invisible"
  56. app:elevation="0dp"
  57. app:layout_scrollFlags="scroll"
  58. />
  59. <android.support.constraint.ConstraintLayout
  60. android:id="@+id/container_category"
  61. android:layout_width="match_parent"
  62. android:layout_height="35dp"
  63. android:layout_marginTop="9dp"
  64. android:background="@color/CFFFFFF"
  65. android:orientation="vertical"
  66. app:layout_collapseMode="pin">
  67. <android.support.v7.widget.RecyclerView
  68. android:id="@+id/recycler_view_category"
  69. android:layout_width="match_parent"
  70. android:layout_height="35dp"
  71. android:clipToPadding="false"
  72. android:paddingStart="17dp"
  73. android:paddingEnd="80dp"
  74. app:layout_constraintBottom_toBottomOf="parent"
  75. app:layout_constraintEnd_toEndOf="parent"
  76. app:layout_constraintStart_toStartOf="parent"
  77. app:layout_constraintTop_toTopOf="parent"/>
  78. <View
  79. android:layout_width="28dp"
  80. android:layout_height="35dp"
  81. android:background="@drawable/rectangle_cffffff_gradation"
  82. app:layout_constraintBottom_toBottomOf="parent"
  83. app:layout_constraintEnd_toStartOf="@+id/image_filter"/>
  84. <ImageView
  85. android:id="@+id/image_filter"
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:layout_marginEnd="17dp"
  89. android:background="@color/CFFFFFF"
  90. android:padding="8dp"
  91. android:scaleType="center"
  92. app:layout_constraintBottom_toBottomOf="parent"
  93. app:layout_constraintEnd_toEndOf="parent"
  94. app:srcCompat="@drawable/ic_filter_de_copy_4"/>
  95. <View
  96. android:layout_width="18dp"
  97. android:layout_height="35dp"
  98. android:background="@color/CFFFFFF"
  99. app:layout_constraintBottom_toBottomOf="parent"
  100. app:layout_constraintEnd_toEndOf="parent"
  101. app:layout_constraintStart_toEndOf="@+id/image_filter"/>
  102. </android.support.constraint.ConstraintLayout>
  103. </android.support.design.widget.CollapsingToolbarLayout>
  104. </android.support.design.widget.AppBarLayout>
  105. <android.support.constraint.ConstraintLayout
  106. android:id="@+id/container_search_result"
  107. android:layout_width="match_parent"
  108. android:layout_height="wrap_content"
  109. android:background="@color/CFFFFFF"
  110. android:orientation="vertical"
  111. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  112. app:layout_constraintBottom_toBottomOf="parent"
  113. app:layout_constraintTop_toBottomOf="@id/container_category"
  114. tools:background="@color/CF6F6F6">
  115. <android.support.v7.widget.RecyclerView
  116. android:id="@+id/recycler_view_search_result"
  117. android:layout_width="match_parent"
  118. android:layout_height="wrap_content"
  119. android:clipToPadding="false"
  120. android:paddingTop="5dp"
  121. android:paddingBottom="@dimen/action_bar_height"
  122. app:layout_constraintBottom_toBottomOf="parent"
  123. app:layout_constraintTop_toTopOf="parent"/>
  124. </android.support.constraint.ConstraintLayout>
  125. </android.support.design.widget.CoordinatorLayout>
  126. </android.support.constraint.ConstraintLayout>