activity_dataanalysis.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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="8"
  70. android:orientation="horizontal"
  71. android:rowCount="1">
  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/mad"
  102. android:layout_width="wrap_content"
  103. android:layout_height="match_parent"
  104. android:layout_marginStart="50dp"
  105. android:text="@string/mad"
  106. android:textSize="20dp"/>
  107. <TextView
  108. android:id="@+id/madshow"
  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/datacontent"
  116. android:layout_width="wrap_content"
  117. android:layout_height="match_parent"
  118. android:layout_marginStart="50dp"
  119. android:text="@string/datacontent"
  120. android:textSize="20dp"/>
  121. <TextView
  122. android:id="@+id/datacontentshow"
  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. </GridLayout>
  129. <LinearLayout
  130. android:id="@+id/EditTextLinearLayout"
  131. android:layout_width="match_parent"
  132. android:layout_height="match_parent"
  133. android:layout_marginStart="8dp"
  134. android:layout_marginTop="8dp"
  135. android:layout_marginEnd="8dp"
  136. android:layout_marginBottom="8dp"
  137. android:orientation="horizontal"
  138. tools:context=".DataAnalysis">
  139. <TextView
  140. android:id="@+id/rownum"
  141. android:layout_width="wrap_content"
  142. android:layout_height="match_parent"
  143. android:text="@string/rownums"
  144. android:padding="5dp"
  145. android:textSize="20dp"/>
  146. <EditText
  147. android:id="@+id/inputrownum"
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:layout_margin="0dp"
  151. android:layout_weight="2"
  152. android:background="@drawable/bg_frame_search"
  153. android:digits="@string/input_num"
  154. android:hint="0"
  155. android:textAlignment="center"
  156. android:maxLength="2"
  157. android:padding="5dp"
  158. android:textSize="20dp"
  159. android:singleLine="true"/>
  160. <TextView
  161. android:id="@+id/colnum"
  162. android:layout_width="wrap_content"
  163. android:layout_height="match_parent"
  164. android:text="@string/colnums"
  165. android:padding="5dp"
  166. android:textSize="20dp"/>
  167. <EditText
  168. android:id="@+id/inputcolnum"
  169. android:layout_width="wrap_content"
  170. android:layout_height="wrap_content"
  171. android:layout_margin="0dp"
  172. android:layout_weight="2"
  173. android:background="@drawable/bg_frame_search"
  174. android:digits="@string/input_num"
  175. android:hint="0"
  176. android:textAlignment="center"
  177. android:maxLength="2"
  178. android:padding="5dp"
  179. android:textSize="20dp"
  180. android:singleLine="true" />
  181. <TextView
  182. android:id="@+id/maximumthreshold"
  183. android:layout_width="wrap_content"
  184. android:layout_height="match_parent"
  185. android:text="@string/maximumthreshold"
  186. android:padding="5dp"
  187. android:textSize="20dp"/>
  188. <EditText
  189. android:id="@+id/inputmaximum"
  190. android:layout_width="wrap_content"
  191. android:layout_height="wrap_content"
  192. android:layout_margin="0dp"
  193. android:layout_weight="2"
  194. android:background="@drawable/bg_frame_search"
  195. android:digits="@string/input_num"
  196. android:hint="0"
  197. android:textAlignment="center"
  198. android:maxLength="5"
  199. android:padding="5dp"
  200. android:textSize="20dp"
  201. android:singleLine="true"/>
  202. <TextView
  203. android:id="@+id/minimumthreshold"
  204. android:layout_width="wrap_content"
  205. android:layout_height="match_parent"
  206. android:text="@string/minimumthreshold"
  207. android:padding="5dp"
  208. android:textSize="20dp"/>
  209. <EditText
  210. android:id="@+id/inputminimum"
  211. android:layout_width="wrap_content"
  212. android:layout_height="wrap_content"
  213. android:layout_margin="0dp"
  214. android:layout_weight="2"
  215. android:background="@drawable/bg_frame_search"
  216. android:digits="@string/input_num"
  217. android:hint="0"
  218. android:textAlignment="center"
  219. android:maxLength="5"
  220. android:padding="5dp"
  221. android:textSize="20dp"
  222. android:singleLine="true" />
  223. <TextView
  224. android:id="@+id/adjacentdeviationthreshold"
  225. android:layout_width="wrap_content"
  226. android:layout_height="match_parent"
  227. android:text="@string/adjacentdeviationthreshold"
  228. android:padding="5dp"
  229. android:textSize="20dp"/>
  230. <EditText
  231. android:id="@+id/inputadjacentdeviation"
  232. android:layout_width="wrap_content"
  233. android:layout_height="wrap_content"
  234. android:layout_margin="0dp"
  235. android:layout_weight="2"
  236. android:background="@drawable/bg_frame_search"
  237. android:digits="@string/input_num"
  238. android:hint="0"
  239. android:textAlignment="center"
  240. android:maxLength="2"
  241. android:padding="5dp"
  242. android:textSize="20dp"
  243. android:singleLine="true" />
  244. </LinearLayout>
  245. <LinearLayout
  246. android:id="@+id/ButtonLinearLayout"
  247. android:layout_width="match_parent"
  248. android:layout_height="match_parent"
  249. android:layout_marginStart="8dp"
  250. android:layout_marginLeft="8dp"
  251. android:layout_marginTop="8dp"
  252. android:layout_marginEnd="8dp"
  253. android:layout_marginRight="8dp"
  254. android:layout_marginBottom="0dp"
  255. android:orientation="horizontal"
  256. tools:context=".DataAnalysis">
  257. <Button
  258. android:id="@+id/rawdata"
  259. android:layout_width="match_parent"
  260. android:layout_height="wrap_content"
  261. android:layout_marginStart="0dp"
  262. android:layout_marginTop="8dp"
  263. android:layout_marginEnd="0dp"
  264. android:layout_marginBottom="8dp"
  265. android:layout_weight="1"
  266. android:text="@string/rawdata"
  267. android:textAllCaps="false"
  268. android:textSize="20dp" />
  269. <Button
  270. android:id="@+id/diffdata"
  271. android:layout_width="match_parent"
  272. android:layout_height="wrap_content"
  273. android:layout_marginStart="0dp"
  274. android:layout_marginTop="8dp"
  275. android:layout_marginEnd="0dp"
  276. android:layout_marginBottom="8dp"
  277. android:layout_weight="1"
  278. android:text="@string/diffdata"
  279. android:textAllCaps="false"
  280. android:textSize="20dp" />
  281. <Button
  282. android:id="@+id/reffdata"
  283. android:layout_width="match_parent"
  284. android:layout_height="wrap_content"
  285. android:layout_marginStart="0dp"
  286. android:layout_marginTop="8dp"
  287. android:layout_marginEnd="0dp"
  288. android:layout_marginBottom="8dp"
  289. android:layout_weight="1"
  290. android:text="@string/reffdata"
  291. android:textAllCaps="false"
  292. android:textSize="20dp" />
  293. <Button
  294. android:id="@+id/manualdiff"
  295. android:layout_width="match_parent"
  296. android:layout_height="wrap_content"
  297. android:layout_marginStart="0dp"
  298. android:layout_marginTop="8dp"
  299. android:layout_marginEnd="0dp"
  300. android:layout_marginBottom="8dp"
  301. android:layout_weight="1"
  302. android:text="@string/manualdiff"
  303. android:textAllCaps="false"
  304. android:textSize="20dp" />
  305. <Button
  306. android:id="@+id/manualreff"
  307. android:layout_width="match_parent"
  308. android:layout_height="wrap_content"
  309. android:layout_marginStart="0dp"
  310. android:layout_marginTop="8dp"
  311. android:layout_marginEnd="0dp"
  312. android:layout_marginBottom="8dp"
  313. android:layout_weight="1"
  314. android:text="@string/manualreff"
  315. android:textAllCaps="false"
  316. android:textSize="20dp" />
  317. <Button
  318. android:id="@+id/testting"
  319. android:layout_width="match_parent"
  320. android:layout_height="wrap_content"
  321. android:layout_marginStart="0dp"
  322. android:layout_marginTop="8dp"
  323. android:layout_marginEnd="0dp"
  324. android:layout_marginBottom="8dp"
  325. android:layout_weight="1"
  326. android:text="@string/test"
  327. android:textAllCaps="false"
  328. android:textSize="20dp" />
  329. <Button
  330. android:id="@+id/stop"
  331. android:layout_width="match_parent"
  332. android:layout_height="wrap_content"
  333. android:layout_marginStart="0dp"
  334. android:layout_marginTop="8dp"
  335. android:layout_marginEnd="0dp"
  336. android:layout_marginBottom="8dp"
  337. android:layout_weight="1"
  338. android:text="@string/stop"
  339. android:textAllCaps="false"
  340. android:textSize="20dp" />
  341. </LinearLayout>
  342. <LinearLayout xmlns:tools="http://schemas.android.com/tools"
  343. android:id="@+id/TextViewLinearLayout"
  344. android:layout_width="match_parent"
  345. android:layout_height="match_parent"
  346. android:layout_marginStart="8dp"
  347. android:layout_marginTop="0dp"
  348. android:layout_marginEnd="8dp"
  349. android:layout_marginBottom="8dp"
  350. android:orientation="vertical"
  351. tools:context=".DataAnalysis">
  352. <EditText
  353. android:id="@+id/testinformation"
  354. android:layout_width="match_parent"
  355. android:layout_height="match_parent"
  356. android:text=""
  357. android:textSize="20dp" />
  358. <EditText
  359. android:id="@+id/error"
  360. android:layout_width="match_parent"
  361. android:layout_height="240dp"
  362. android:layout_marginStart="0dp"
  363. android:layout_marginTop="0dp"
  364. android:background="@drawable/bg_frame_search"
  365. android:text=""
  366. android:textSize="16dp" />
  367. </LinearLayout>
  368. </LinearLayout>
  369. </ScrollView>
  370. </android.support.constraint.ConstraintLayout>