activity_dataanalysis.xml 15 KB

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