ec7c3aa28b964f3d8c12c3c32fff4dfcc98c345f.svn-base 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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. android:orientation="vertical">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:background="@color/white"
  12. android:orientation="vertical"
  13. android:paddingTop="10dp">
  14. <com.hjq.bar.TitleBar
  15. android:id="@+id/tb_test_a_bar"
  16. android:layout_width="match_parent"
  17. android:layout_height="?android:attr/actionBarSize"
  18. android:layout_marginTop="10dp"
  19. app:backButton="false"
  20. app:barStyle="transparent"
  21. app:layout_collapseMode="pin">
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:orientation="horizontal">
  26. <LinearLayout
  27. android:layout_width="290dp"
  28. android:layout_height="32dp"
  29. android:layout_gravity="center_vertical"
  30. android:layout_marginLeft="15dp"
  31. android:background="@drawable/bg_home_search_bar_transparent"
  32. android:orientation="horizontal">
  33. <ImageView
  34. android:layout_width="20dp"
  35. android:layout_height="20dp"
  36. android:layout_gravity="center_vertical"
  37. android:layout_marginLeft="17.5dp"
  38. android:src="@mipmap/iv_search_logo" />
  39. <EditText
  40. android:id="@+id/tv_report_search"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_gravity="center_vertical"
  44. android:layout_marginLeft="9dp"
  45. android:background="@null"
  46. android:hint="请输入姓名/身份证/ID号"
  47. android:textColorHint="#a4a4a4"
  48. android:textSize="14sp" />
  49. </LinearLayout>
  50. <TextView
  51. android:id="@+id/tv_report_gosearch"
  52. android:layout_width="wrap_content"
  53. android:layout_height="match_parent"
  54. android:layout_marginLeft="10dp"
  55. android:gravity="center_vertical"
  56. android:text="搜索"
  57. android:textColor="#1C92FE"
  58. android:textSize="14sp" />
  59. </LinearLayout>
  60. </com.hjq.bar.TitleBar>
  61. <LinearLayout
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:layout_marginLeft="15dp"
  65. android:layout_marginRight="19dp"
  66. android:orientation="vertical">
  67. <LinearLayout
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content"
  70. android:orientation="horizontal">
  71. <TextView
  72. android:id="@+id/tv_vn_name"
  73. android:layout_width="0dp"
  74. android:layout_height="30sp"
  75. android:layout_marginRight="5dp"
  76. android:layout_weight="1"
  77. android:background="@drawable/bg_home_search_bar_transparent"
  78. android:drawableRight="@mipmap/iv_arrowdown_icon"
  79. android:gravity="center_vertical"
  80. android:hint="疫苗名称"
  81. android:paddingLeft="20dp"
  82. android:paddingRight="13dp"
  83. android:text="全部"
  84. android:textColorHint="@color/black"
  85. android:textSize="14sp" />
  86. <TextView
  87. android:id="@+id/tv_vn_status"
  88. android:layout_width="0dp"
  89. android:layout_height="30sp"
  90. android:layout_weight="1"
  91. android:background="@drawable/bg_home_search_bar_transparent"
  92. android:drawableRight="@mipmap/iv_arrowdown_icon"
  93. android:gravity="center_vertical"
  94. android:hint="状态"
  95. android:paddingLeft="20dp"
  96. android:paddingRight="13dp"
  97. android:text="全部"
  98. android:textColorHint="@color/black"
  99. android:textSize="14sp" />
  100. </LinearLayout>
  101. <LinearLayout
  102. android:layout_width="match_parent"
  103. android:layout_height="wrap_content"
  104. android:layout_marginTop="10dp"
  105. android:layout_marginBottom="10dp"
  106. android:orientation="horizontal">
  107. <TextView
  108. android:id="@+id/tv_vn_begintime"
  109. android:layout_width="0dp"
  110. android:layout_height="30sp"
  111. android:layout_marginRight="5dp"
  112. android:layout_weight="1"
  113. android:background="@drawable/bg_home_search_bar_transparent"
  114. android:drawableRight="@mipmap/iv_arrowdown_icon"
  115. android:gravity="center_vertical"
  116. android:hint="起始时间"
  117. android:paddingLeft="20dp"
  118. android:paddingRight="13dp"
  119. android:textColorHint="@color/black"
  120. android:textSize="14sp" />
  121. <TextView
  122. android:id="@+id/tv_vn_endtime"
  123. android:layout_width="0dp"
  124. android:layout_height="30sp"
  125. android:layout_weight="1"
  126. android:background="@drawable/bg_home_search_bar_transparent"
  127. android:drawableRight="@mipmap/iv_arrowdown_icon"
  128. android:gravity="center_vertical"
  129. android:hint="截止时间"
  130. android:paddingLeft="20dp"
  131. android:paddingRight="13dp"
  132. android:textColorHint="@color/black"
  133. android:textSize="14sp" />
  134. </LinearLayout>
  135. </LinearLayout>
  136. </LinearLayout>
  137. <android.support.v7.widget.RecyclerView
  138. android:id="@+id/rl_reportvn"
  139. android:layout_width="match_parent"
  140. android:layout_height="wrap_content">
  141. </android.support.v7.widget.RecyclerView>
  142. </LinearLayout>