activity_dataanalysis.xml 15 KB

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