activity_dataanalysis.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout 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. android:background="@drawable/wingcool_backgroup"
  7. tools:context=".DataAnalysis">
  8. <ScrollView
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent">
  11. <LinearLayout
  12. xmlns:android="http://schemas.android.com/apk/res/android"
  13. xmlns:tools="http://schemas.android.com/tools"
  14. android:id="@+id/AllLinearLayout"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:layout_marginStart="8dp"
  18. android:layout_marginLeft="8dp"
  19. android:layout_marginTop="8dp"
  20. android:layout_marginEnd="8dp"
  21. android:layout_marginRight="8dp"
  22. android:layout_marginBottom="0dp"
  23. android:orientation="vertical"
  24. tools:context=".DataAnalysis">
  25. <HorizontalScrollView
  26. android:layout_width="match_parent"
  27. android:layout_height="match_parent">
  28. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  29. xmlns:tools="http://schemas.android.com/tools"
  30. android:id="@+id/TextLinearLayout"
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent"
  33. android:layout_marginStart="8dp"
  34. android:layout_marginLeft="8dp"
  35. android:layout_marginTop="8dp"
  36. android:layout_marginEnd="8dp"
  37. android:layout_marginRight="8dp"
  38. android:layout_marginBottom="0dp"
  39. android:orientation="vertical"
  40. tools:context=".DataAnalysis">
  41. <TextView
  42. android:id="@+id/rawlog"
  43. android:layout_width="match_parent"
  44. android:layout_height="match_parent"
  45. android:layout_marginTop="8dp"
  46. android:layout_marginEnd="8dp"
  47. android:text=""
  48. android:textSize="16dp"
  49. android:textColor="@color/colorPrimary"/>
  50. <TextView
  51. android:id="@+id/textView"
  52. android:layout_width="match_parent"
  53. android:layout_height="match_parent"
  54. android:layout_marginStart="2dp"
  55. android:layout_marginTop="8dp"
  56. android:text=""
  57. android:textSize="16dp"/>
  58. </LinearLayout>
  59. </HorizontalScrollView>
  60. <HorizontalScrollView
  61. android:layout_width="match_parent"
  62. android:layout_height="match_parent">
  63. <TableLayout
  64. android:id="@+id/tab_01"
  65. android:layout_width="match_parent"
  66. android:layout_height="match_parent"/>
  67. </HorizontalScrollView>
  68. <GridLayout
  69. xmlns:android="http://schemas.android.com/apk/res/android"
  70. android:id="@+id/SpecialDataGridLayout"
  71. android:layout_width="match_parent"
  72. android:layout_height="match_parent"
  73. android:layout_marginStart="8dp"
  74. android:layout_marginEnd="8dp"
  75. android:layout_gravity="center_vertical"
  76. android:background="@drawable/bg_frame_line"
  77. android:columnCount="16"
  78. android:orientation="horizontal"
  79. android:rowCount="2">
  80. <TextView
  81. android:id="@+id/maximum"
  82. android:layout_width="wrap_content"
  83. android:layout_height="match_parent"
  84. android:layout_marginStart="20dp"
  85. android:text="@string/maximum"
  86. android:textSize="20dp"/>
  87. <TextView
  88. android:id="@+id/maximumshow"
  89. android:layout_width="wrap_content"
  90. android:layout_height="match_parent"
  91. android:text="NA"
  92. android:textSize="20dp"
  93. android:textColor="@color/back_red"/>
  94. <TextView
  95. android:id="@+id/minimum"
  96. android:layout_width="wrap_content"
  97. android:layout_height="match_parent"
  98. android:layout_marginStart="50dp"
  99. android:text="@string/minimum"
  100. android:textSize="20dp"/>
  101. <TextView
  102. android:id="@+id/minimumshow"
  103. android:layout_width="wrap_content"
  104. android:layout_height="match_parent"
  105. android:text="NA"
  106. android:textSize="20dp"
  107. android:textColor="@color/back_red"/>
  108. <TextView
  109. android:id="@+id/maxsubmin"
  110. android:layout_width="wrap_content"
  111. android:layout_height="match_parent"
  112. android:layout_marginStart="50dp"
  113. android:text="@string/maxsubmin"
  114. android:textSize="20dp"/>
  115. <TextView
  116. android:id="@+id/maxsubminshow"
  117. android:layout_width="wrap_content"
  118. android:layout_height="match_parent"
  119. android:text="NA"
  120. android:textSize="20dp"
  121. android:textColor="@color/back_red"/>
  122. <TextView
  123. android:id="@+id/uniformity"
  124. android:layout_width="wrap_content"
  125. android:layout_height="match_parent"
  126. android:layout_marginStart="50dp"
  127. android:text="@string/uniformity"
  128. android:textSize="20dp"/>
  129. <TextView
  130. android:id="@+id/uniformityshow"
  131. android:layout_width="wrap_content"
  132. android:layout_height="match_parent"
  133. android:text="NA"
  134. android:textSize="20dp"
  135. android:textColor="@color/back_red"/>
  136. <TextView
  137. android:id="@+id/average"
  138. android:layout_row="1"
  139. android:layout_column="0"
  140. android:layout_width="wrap_content"
  141. android:layout_height="match_parent"
  142. android:layout_marginStart="20dp"
  143. android:text="@string/average"
  144. android:textSize="20dp"/>
  145. <TextView
  146. android:id="@+id/averageshow"
  147. android:layout_width="wrap_content"
  148. android:layout_height="match_parent"
  149. android:text="NA"
  150. android:textSize="20dp"
  151. android:textColor="@color/back_red"/>
  152. <TextView
  153. android:id="@+id/rmd"
  154. android:layout_width="wrap_content"
  155. android:layout_height="match_parent"
  156. android:layout_marginStart="50dp"
  157. android:text="@string/rmd"
  158. android:textSize="20dp"/>
  159. <TextView
  160. android:id="@+id/rmdshow"
  161. android:layout_width="wrap_content"
  162. android:layout_height="match_parent"
  163. android:text="NA"
  164. android:textSize="20dp"
  165. android:textColor="@color/back_red"/>
  166. <TextView
  167. android:id="@+id/mad"
  168. android:layout_width="wrap_content"
  169. android:layout_height="match_parent"
  170. android:layout_marginStart="50dp"
  171. android:text="@string/mad"
  172. android:textSize="20dp"/>
  173. <TextView
  174. android:id="@+id/madshow"
  175. android:layout_width="wrap_content"
  176. android:layout_height="match_parent"
  177. android:text="NA"
  178. android:textSize="20dp"
  179. android:textColor="@color/back_red"/>
  180. <TextView
  181. android:id="@+id/datacontent"
  182. android:layout_width="wrap_content"
  183. android:layout_height="match_parent"
  184. android:layout_marginStart="50dp"
  185. android:text="@string/datacontent"
  186. android:textSize="20dp"/>
  187. <TextView
  188. android:id="@+id/datacontentshow"
  189. android:layout_width="wrap_content"
  190. android:layout_height="match_parent"
  191. android:text="[NA]"
  192. android:textSize="20dp"
  193. android:textColor="@color/back_red"/>
  194. </GridLayout>
  195. <LinearLayout
  196. android:id="@+id/EditTextLinearLayout"
  197. android:layout_width="match_parent"
  198. android:layout_height="match_parent"
  199. android:layout_marginStart="8dp"
  200. android:layout_marginTop="8dp"
  201. android:layout_marginEnd="8dp"
  202. android:layout_marginBottom="8dp"
  203. android:orientation="horizontal"
  204. tools:context=".DataAnalysis">
  205. <TextView
  206. android:id="@+id/rownum"
  207. android:layout_width="wrap_content"
  208. android:layout_height="match_parent"
  209. android:text="@string/rownums"
  210. android:padding="5dp"
  211. android:textSize="20dp"/>
  212. <EditText
  213. android:id="@+id/inputrownum"
  214. android:layout_width="wrap_content"
  215. android:layout_height="wrap_content"
  216. android:layout_margin="0dp"
  217. android:layout_weight="2"
  218. android:background="@drawable/bg_frame_search"
  219. android:digits="@string/input_num"
  220. android:hint="0"
  221. android:textAlignment="center"
  222. android:maxLength="2"
  223. android:padding="5dp"
  224. android:textSize="20dp"
  225. android:singleLine="true"/>
  226. <TextView
  227. android:id="@+id/colnum"
  228. android:layout_width="wrap_content"
  229. android:layout_height="match_parent"
  230. android:text="@string/colnums"
  231. android:padding="5dp"
  232. android:textSize="20dp"/>
  233. <EditText
  234. android:id="@+id/inputcolnum"
  235. android:layout_width="wrap_content"
  236. android:layout_height="wrap_content"
  237. android:layout_margin="0dp"
  238. android:layout_weight="2"
  239. android:background="@drawable/bg_frame_search"
  240. android:digits="@string/input_num"
  241. android:hint="0"
  242. android:textAlignment="center"
  243. android:maxLength="2"
  244. android:padding="5dp"
  245. android:textSize="20dp"
  246. android:singleLine="true" />
  247. </LinearLayout>
  248. <LinearLayout
  249. android:id="@+id/ButtonLinearLayout"
  250. android:layout_width="match_parent"
  251. android:layout_height="match_parent"
  252. android:layout_marginStart="8dp"
  253. android:layout_marginLeft="8dp"
  254. android:layout_marginTop="8dp"
  255. android:layout_marginEnd="8dp"
  256. android:layout_marginRight="8dp"
  257. android:layout_marginBottom="0dp"
  258. android:orientation="horizontal"
  259. tools:context=".DataAnalysis">
  260. <Button
  261. android:id="@+id/rawdata"
  262. android:layout_width="match_parent"
  263. android:layout_height="wrap_content"
  264. android:layout_marginStart="0dp"
  265. android:layout_marginTop="8dp"
  266. android:layout_marginEnd="0dp"
  267. android:layout_marginBottom="8dp"
  268. android:layout_weight="1"
  269. android:text="@string/rawdata"
  270. android:textAllCaps="false"
  271. android:textSize="20dp" />
  272. <Button
  273. android:id="@+id/diffdata"
  274. android:layout_width="match_parent"
  275. android:layout_height="wrap_content"
  276. android:layout_marginStart="0dp"
  277. android:layout_marginTop="8dp"
  278. android:layout_marginEnd="0dp"
  279. android:layout_marginBottom="8dp"
  280. android:layout_weight="1"
  281. android:text="@string/diffdata"
  282. android:textAllCaps="false"
  283. android:textSize="20dp" />
  284. <Button
  285. android:id="@+id/reffdata"
  286. android:layout_width="match_parent"
  287. android:layout_height="wrap_content"
  288. android:layout_marginStart="0dp"
  289. android:layout_marginTop="8dp"
  290. android:layout_marginEnd="0dp"
  291. android:layout_marginBottom="8dp"
  292. android:layout_weight="1"
  293. android:text="@string/reffdata"
  294. android:textAllCaps="false"
  295. android:textSize="20dp" />
  296. <Button
  297. android:id="@+id/manualdiff"
  298. android:layout_width="match_parent"
  299. android:layout_height="wrap_content"
  300. android:layout_marginStart="0dp"
  301. android:layout_marginTop="8dp"
  302. android:layout_marginEnd="0dp"
  303. android:layout_marginBottom="8dp"
  304. android:layout_weight="1"
  305. android:text="@string/manualdiff"
  306. android:textAllCaps="false"
  307. android:textSize="20dp" />
  308. <Button
  309. android:id="@+id/manualreff"
  310. android:layout_width="match_parent"
  311. android:layout_height="wrap_content"
  312. android:layout_marginStart="0dp"
  313. android:layout_marginTop="8dp"
  314. android:layout_marginEnd="0dp"
  315. android:layout_marginBottom="8dp"
  316. android:layout_weight="1"
  317. android:text="@string/manualreff"
  318. android:textAllCaps="false"
  319. android:textSize="20dp" />
  320. <Button
  321. android:id="@+id/stop"
  322. android:layout_width="match_parent"
  323. android:layout_height="wrap_content"
  324. android:layout_marginStart="0dp"
  325. android:layout_marginTop="8dp"
  326. android:layout_marginEnd="0dp"
  327. android:layout_marginBottom="8dp"
  328. android:layout_weight="1"
  329. android:text="@string/stop"
  330. android:textAllCaps="false"
  331. android:textSize="20dp" />
  332. </LinearLayout>
  333. </LinearLayout>
  334. </ScrollView>
  335. </android.support.constraint.ConstraintLayout>