activity_fxy_quality_inspection.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. xmlns:app="http://schemas.android.com/apk/res-auto"
  7. android:background="@color/md_grey_100"
  8. android:orientation="vertical">
  9. <ScrollView
  10. android:id="@+id/ll_scroll_view"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:scrollbars="none">
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:orientation="vertical">
  18. <View
  19. android:layout_width="match_parent"
  20. android:layout_height="4dp"
  21. android:background="@color/md_grey_100" />
  22. <View
  23. android:layout_width="match_parent"
  24. android:layout_height="4dp"
  25. android:background="@color/md_grey_100" />
  26. <LinearLayout
  27. style="@style/FromLinearLayoutItem"
  28. android:orientation="horizontal">
  29. <EditText
  30. style="@style/EditTextStyle"
  31. android:id="@+id/et_order_no"
  32. android:hint="@string/hint_please_scan_no"
  33. android:text=""/>
  34. <ImageButton
  35. style="@style/ClearImg"
  36. android:id="@+id/ib_order_no_clear"
  37. />
  38. </LinearLayout>
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_marginLeft="@dimen/dp_10"
  43. android:layout_marginRight="@dimen/dp_10"
  44. android:background="@null"
  45. android:gravity="center_vertical"
  46. android:orientation="vertical">
  47. <LinearLayout
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:background="@null"
  51. android:gravity="center_vertical"
  52. android:orientation="horizontal"
  53. android:padding="5dp">
  54. <TextView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:text="质检结果:"
  58. android:textColor="@color/black"
  59. android:textSize="@dimen/t24" />
  60. <RadioGroup
  61. android:id="@+id/radioGroup1"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:orientation="horizontal" >
  65. <RadioButton
  66. android:id="@+id/rb_intact"
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. android:checked="true"
  70. android:onClick="onRadioButtonClicked"
  71. android:textSize="@dimen/t24"
  72. android:text="完好" />
  73. <RadioButton
  74. android:id="@+id/rb_breakage"
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:onClick="onRadioButtonClicked"
  78. android:textSize="@dimen/t24"
  79. android:text="破损" />
  80. </RadioGroup>
  81. </LinearLayout>
  82. </LinearLayout>
  83. <!--全景照片-->
  84. <LinearLayout
  85. android:id="@+id/ll_panorama_area"
  86. android:layout_width="match_parent"
  87. android:layout_height="wrap_content"
  88. android:orientation="vertical">
  89. <LinearLayout
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:paddingBottom="5dp"
  93. android:paddingTop="5dp"
  94. android:orientation="horizontal">
  95. <TextView
  96. android:layout_marginLeft="@dimen/dp_10"
  97. style="@style/tvLeftStyle"
  98. android:text="全景照片:" />
  99. </LinearLayout>
  100. <LinearLayout
  101. android:id="@+id/ll_pictures_panorama"
  102. android:layout_width="match_parent"
  103. android:layout_height="wrap_content"
  104. android:orientation="vertical">
  105. <include layout="@layout/fragment_show_img"/>
  106. <View
  107. android:layout_width="match_parent"
  108. android:layout_height="1dp"
  109. android:background="@color/md_grey_100" />
  110. </LinearLayout>
  111. </LinearLayout>
  112. <!--面单照片-->
  113. <LinearLayout
  114. android:id="@+id/ll_label_area"
  115. android:layout_width="match_parent"
  116. android:layout_height="wrap_content"
  117. android:orientation="vertical">
  118. <LinearLayout
  119. android:layout_width="match_parent"
  120. android:layout_height="wrap_content"
  121. android:paddingBottom="5dp"
  122. android:paddingTop="5dp"
  123. android:orientation="horizontal">
  124. <TextView
  125. android:layout_marginLeft="@dimen/dp_10"
  126. style="@style/tvLeftStyle"
  127. android:text="面单照片:" />
  128. </LinearLayout>
  129. <LinearLayout
  130. android:id="@+id/ll_pictures_label"
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:orientation="vertical">
  134. <include layout="@layout/fragment_show_img"/>
  135. <View
  136. android:layout_width="match_parent"
  137. android:layout_height="1dp"
  138. android:background="@color/md_grey_100" />
  139. </LinearLayout>
  140. </LinearLayout>
  141. <!--破损照片-->
  142. <LinearLayout
  143. android:id="@+id/ll_damaged_area"
  144. android:layout_width="match_parent"
  145. android:layout_height="wrap_content"
  146. android:visibility="gone"
  147. android:orientation="vertical">
  148. <LinearLayout
  149. android:layout_width="match_parent"
  150. android:layout_height="wrap_content"
  151. android:paddingBottom="5dp"
  152. android:paddingTop="5dp"
  153. android:orientation="horizontal">
  154. <TextView
  155. android:layout_marginLeft="@dimen/dp_10"
  156. style="@style/tvLeftStyle"
  157. android:text="破损照片:" />
  158. </LinearLayout>
  159. <LinearLayout
  160. android:id="@+id/ll_pictures_damaged"
  161. android:layout_width="match_parent"
  162. android:layout_height="wrap_content"
  163. android:orientation="vertical">
  164. <include layout="@layout/fragment_show_img"/>
  165. <View
  166. android:layout_width="match_parent"
  167. android:layout_height="1dp"
  168. android:background="@color/md_grey_100" />
  169. </LinearLayout>
  170. </LinearLayout>
  171. <View
  172. android:layout_width="match_parent"
  173. android:layout_height="1dp"
  174. android:background="@color/md_grey_100" />
  175. <LinearLayout
  176. android:layout_width="fill_parent"
  177. android:layout_height="wrap_content"
  178. android:background="@drawable/bg_white_et"
  179. android:layout_marginLeft="@dimen/dp_10"
  180. android:layout_marginRight="@dimen/dp_10"
  181. android:gravity="center_vertical"
  182. android:orientation="horizontal"
  183. android:scrollbars="vertical"
  184. android:paddingTop="@dimen/dp_10"
  185. android:paddingBottom="@dimen/dp_10"
  186. >
  187. <android.support.v7.widget.RecyclerView
  188. android:id="@+id/recyclerview"
  189. android:layout_width="match_parent"
  190. android:layout_height="match_parent"
  191. android:background="#fff"
  192. android:overScrollMode="never"/>
  193. </LinearLayout>
  194. <LinearLayout
  195. android:layout_width="match_parent"
  196. android:layout_height="wrap_content"
  197. android:layout_marginLeft="@dimen/dp_10"
  198. android:layout_marginTop="@dimen/dp_10"
  199. android:layout_marginRight="@dimen/dp_10"
  200. android:layout_marginBottom="@dimen/dp_4"
  201. android:background="@drawable/bg_white_et"
  202. android:gravity="center_vertical"
  203. android:orientation="horizontal"
  204. android:padding="10dp">
  205. <TextView
  206. style="@style/fontSize"
  207. android:id="@+id/btn_confirm"
  208. android:layout_width="match_parent"
  209. android:layout_height="wrap_content"
  210. android:layout_marginLeft="@dimen/dp_10"
  211. android:layout_marginRight="@dimen/dp_10"
  212. android:background="@drawable/bg_orange_item"
  213. android:gravity="center"
  214. android:text="提交"
  215. android:padding="10dp"
  216. android:textColor="@color/white"
  217. android:visibility="visible" />
  218. </LinearLayout>
  219. </LinearLayout>
  220. </ScrollView>
  221. <include layout="@layout/item_float_image" />
  222. </LinearLayout>