activity_dataanalysis.xml 16 KB

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