activity_testoperation.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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=".TestOperation">
  8. <ScrollView
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. tools:layout_editor_absoluteX="0dp"
  12. tools:layout_editor_absoluteY="0dp">
  13. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  14. xmlns:tools="http://schemas.android.com/tools"
  15. android:id="@+id/AllLinearLayout"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:layout_marginStart="8dp"
  19. android:layout_marginLeft="8dp"
  20. android:layout_marginTop="8dp"
  21. android:layout_marginEnd="8dp"
  22. android:layout_marginRight="8dp"
  23. android:layout_marginBottom="0dp"
  24. android:orientation="vertical"
  25. tools:context=".TestOperation">
  26. <HorizontalScrollView
  27. android:layout_width="match_parent"
  28. android:layout_height="match_parent">
  29. </HorizontalScrollView>
  30. <HorizontalScrollView
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent">
  33. <TableLayout
  34. android:id="@+id/tab_01"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent" />
  37. </HorizontalScrollView>
  38. <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
  39. android:id="@+id/SpecialDataGridLayout"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:layout_gravity="center_vertical"
  43. android:layout_marginStart="8dp"
  44. android:layout_marginEnd="8dp"
  45. android:background="@drawable/bg_frame_line"
  46. android:columnCount="16"
  47. android:orientation="horizontal"
  48. android:rowCount="2">
  49. <TextView
  50. android:id="@+id/maximum"
  51. android:layout_width="wrap_content"
  52. android:layout_height="match_parent"
  53. android:layout_marginStart="20dp"
  54. android:text="@string/maximum"
  55. android:textSize="20dp" />
  56. <TextView
  57. android:id="@+id/maximumshow"
  58. android:layout_width="wrap_content"
  59. android:layout_height="match_parent"
  60. android:text="NA"
  61. android:textColor="@color/back_red"
  62. android:textSize="20dp" />
  63. <TextView
  64. android:id="@+id/minimum"
  65. android:layout_width="wrap_content"
  66. android:layout_height="match_parent"
  67. android:layout_marginStart="50dp"
  68. android:text="@string/minimum"
  69. android:textSize="20dp" />
  70. <TextView
  71. android:id="@+id/minimumshow"
  72. android:layout_width="wrap_content"
  73. android:layout_height="match_parent"
  74. android:text="NA"
  75. android:textColor="@color/back_red"
  76. android:textSize="20dp" />
  77. <TextView
  78. android:id="@+id/maxsubmin"
  79. android:layout_width="wrap_content"
  80. android:layout_height="match_parent"
  81. android:layout_marginStart="50dp"
  82. android:text="@string/maxsubmin"
  83. android:textSize="20dp" />
  84. <TextView
  85. android:id="@+id/maxsubminshow"
  86. android:layout_width="wrap_content"
  87. android:layout_height="match_parent"
  88. android:text="NA"
  89. android:textColor="@color/back_red"
  90. android:textSize="20dp" />
  91. <TextView
  92. android:id="@+id/mad"
  93. android:layout_width="wrap_content"
  94. android:layout_height="match_parent"
  95. android:layout_marginStart="50dp"
  96. android:text="@string/mad"
  97. android:textSize="20dp" />
  98. <TextView
  99. android:id="@+id/madshow"
  100. android:layout_width="wrap_content"
  101. android:layout_height="match_parent"
  102. android:text="NA"
  103. android:textColor="@color/back_red"
  104. android:textSize="20dp" />
  105. </GridLayout>
  106. <LinearLayout
  107. android:id="@+id/EditTextLinearLayout"
  108. android:layout_width="match_parent"
  109. android:layout_height="match_parent"
  110. android:layout_marginStart="8dp"
  111. android:layout_marginTop="8dp"
  112. android:layout_marginEnd="8dp"
  113. android:layout_marginBottom="8dp"
  114. android:orientation="horizontal"
  115. tools:context=".TestOperation">
  116. <TextView
  117. android:id="@+id/maximumthreshold"
  118. android:layout_width="wrap_content"
  119. android:layout_height="match_parent"
  120. android:padding="5dp"
  121. android:text="@string/maximumthreshold"
  122. android:textSize="20dp" />
  123. <EditText
  124. android:id="@+id/inputmaximum"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_margin="0dp"
  128. android:layout_weight="2"
  129. android:background="@drawable/bg_frame_search"
  130. android:digits="@string/input_num"
  131. android:hint="0"
  132. android:maxLength="5"
  133. android:padding="5dp"
  134. android:singleLine="true"
  135. android:textAlignment="center"
  136. android:textSize="20dp" />
  137. <TextView
  138. android:id="@+id/minimumthreshold"
  139. android:layout_width="wrap_content"
  140. android:layout_height="match_parent"
  141. android:padding="5dp"
  142. android:text="@string/minimumthreshold"
  143. android:textSize="20dp" />
  144. <EditText
  145. android:id="@+id/inputminimum"
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:layout_margin="0dp"
  149. android:layout_weight="2"
  150. android:background="@drawable/bg_frame_search"
  151. android:digits="@string/input_num"
  152. android:hint="0"
  153. android:maxLength="5"
  154. android:padding="5dp"
  155. android:singleLine="true"
  156. android:textAlignment="center"
  157. android:textSize="20dp" />
  158. <TextView
  159. android:id="@+id/adjacentdeviationthreshold"
  160. android:layout_width="wrap_content"
  161. android:layout_height="match_parent"
  162. android:padding="5dp"
  163. android:text="@string/adjacentdeviationthreshold"
  164. android:textSize="20dp" />
  165. <EditText
  166. android:id="@+id/inputadjacentdeviation"
  167. android:layout_width="wrap_content"
  168. android:layout_height="wrap_content"
  169. android:layout_margin="0dp"
  170. android:layout_weight="2"
  171. android:background="@drawable/bg_frame_search"
  172. android:digits="@string/input_num"
  173. android:hint="0"
  174. android:maxLength="5"
  175. android:padding="5dp"
  176. android:singleLine="true"
  177. android:textAlignment="center"
  178. android:textSize="20dp" />
  179. </LinearLayout>
  180. <LinearLayout
  181. android:id="@+id/ButtonLinearLayout"
  182. android:layout_width="match_parent"
  183. android:layout_height="match_parent"
  184. android:layout_marginStart="8dp"
  185. android:layout_marginLeft="8dp"
  186. android:layout_marginTop="8dp"
  187. android:layout_marginEnd="8dp"
  188. android:layout_marginRight="8dp"
  189. android:layout_marginBottom="0dp"
  190. android:orientation="horizontal"
  191. tools:context=".TestOperation">
  192. <Button
  193. android:id="@+id/starttesting"
  194. android:layout_width="match_parent"
  195. android:layout_height="wrap_content"
  196. android:layout_marginStart="0dp"
  197. android:layout_marginTop="8dp"
  198. android:layout_marginEnd="0dp"
  199. android:layout_marginBottom="8dp"
  200. android:layout_weight="1"
  201. android:text="@string/starttesting"
  202. android:textAllCaps="false"
  203. android:textSize="20dp" />
  204. <Button
  205. android:id="@+id/stop"
  206. android:layout_width="match_parent"
  207. android:layout_height="wrap_content"
  208. android:layout_marginStart="0dp"
  209. android:layout_marginTop="8dp"
  210. android:layout_marginEnd="0dp"
  211. android:layout_marginBottom="8dp"
  212. android:layout_weight="1"
  213. android:text="@string/stop"
  214. android:textAllCaps="false"
  215. android:textSize="20dp" />
  216. </LinearLayout>
  217. <LinearLayout xmlns:tools="http://schemas.android.com/tools"
  218. android:id="@+id/TextViewLinearLayout"
  219. android:layout_width="match_parent"
  220. android:layout_height="match_parent"
  221. android:layout_marginStart="8dp"
  222. android:layout_marginTop="0dp"
  223. android:layout_marginEnd="8dp"
  224. android:layout_marginBottom="8dp"
  225. android:orientation="vertical"
  226. tools:context=".TestOperation">
  227. <EditText
  228. android:id="@+id/testinformation"
  229. android:layout_width="match_parent"
  230. android:layout_height="240dp"
  231. android:layout_marginStart="0dp"
  232. android:layout_marginTop="0dp"
  233. android:background="@drawable/bg_frame_search"
  234. android:text=""
  235. android:textSize="16dp" />
  236. <TextView
  237. android:id="@+id/testresult"
  238. android:layout_width="match_parent"
  239. android:layout_height="match_parent"
  240. android:layout_marginStart="0dp"
  241. android:layout_marginTop="0dp"
  242. android:text=""
  243. android:textColor="@color/back_red"
  244. android:textSize="20dp" />
  245. </LinearLayout>
  246. </LinearLayout>
  247. </ScrollView>
  248. </android.support.constraint.ConstraintLayout>