Version für alte Androidversionen der Visiereinstellung für Recurvebogen.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

rbs_riser_config.xml 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <RelativeLayout xmlns:tools="http://schemas.android.com/tools"
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res/ch.spherIC.recurvebowsight"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@drawable/bg"
  7. android:gravity="center" >
  8. <ScrollView
  9. android:id="@+id/riserCfgScrollView"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent" >
  12. <LinearLayout
  13. android:id="@+id/riserConfig"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:orientation="vertical" >
  17. <ch.spherIC.recurvebowsight.components.XTextView
  18. android:id="@+id/riserConfigTitle"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:layout_margin="4dp"
  22. android:background="@drawable/glassbg_black"
  23. android:paddingBottom="3dp"
  24. android:paddingLeft="6dp"
  25. android:paddingTop="3dp"
  26. android:text="@string/rcTitleRiserConfig"
  27. android:textColor="@color/white"
  28. android:textStyle="bold"
  29. app:font="@string/TitilliumWeb_Bold" />
  30. <TableLayout
  31. android:id="@+id/riserConfigTbl"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_weight="1"
  35. android:gravity="fill_vertical|fill_horizontal"
  36. android:scrollbarStyle="insideOverlay"
  37. android:scrollbars="vertical" >
  38. <TableRow
  39. android:id="@+id/tableRCRow1"
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_margin="4dp"
  43. android:paddingLeft="8dp" >
  44. <ch.spherIC.recurvebowsight.components.FontTextView
  45. android:id="@+id/rcRiserLbl"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_gravity="right|center_vertical"
  49. android:gravity="right"
  50. android:text="@string/rcRiserLbl"
  51. android:textColor="@color/black"
  52. app:font="@string/TitilliumWeb_Regular" />
  53. <ch.spherIC.recurvebowsight.components.RiserSpinner
  54. android:id="@+id/rcRiserSpinner"
  55. style="@style/GlassSpinner"
  56. android:layout_width="wrap_content"
  57. android:layout_height="40dp"
  58. android:layout_marginLeft="4dp"
  59. android:layout_weight="1"
  60. android:gravity="center_vertical"
  61. android:paddingBottom="9dp"
  62. android:paddingTop="9dp" />
  63. </TableRow>
  64. <TableRow
  65. android:id="@+id/tableRCRow2"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:layout_margin="4dp"
  69. android:paddingLeft="8dp" >
  70. <ch.spherIC.recurvebowsight.components.FontTextView
  71. android:id="@+id/rcManufacturerLbl"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_gravity="right|center_vertical"
  75. android:gravity="right"
  76. android:text="@string/rcManufacturerLbl"
  77. android:textColor="@color/black"
  78. app:font="@string/TitilliumWeb_Regular" />
  79. <ch.spherIC.recurvebowsight.components.FontEditText
  80. android:id="@+id/rcManufacturerTxtFld"
  81. android:layout_width="wrap_content"
  82. android:layout_height="40dp"
  83. android:layout_marginLeft="4dp"
  84. android:layout_weight="1"
  85. android:ems="10"
  86. android:gravity="center_vertical"
  87. android:inputType="text"
  88. android:paddingBottom="9dp"
  89. android:paddingTop="9dp"
  90. android:selectAllOnFocus="true"
  91. android:textSize="18sp"
  92. app:txtFont="@string/TitilliumWeb_Regular" />
  93. </TableRow>
  94. <TableRow
  95. android:id="@+id/tableRCRow3"
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_margin="4dp"
  99. android:paddingLeft="8dp" >
  100. <ch.spherIC.recurvebowsight.components.FontTextView
  101. android:id="@+id/rcModelLbl"
  102. android:layout_width="wrap_content"
  103. android:layout_height="wrap_content"
  104. android:layout_gravity="right|center_vertical"
  105. android:gravity="right"
  106. android:text="@string/rcModel"
  107. android:textColor="@color/black"
  108. app:font="@string/TitilliumWeb_Regular" />
  109. <ch.spherIC.recurvebowsight.components.FontEditText
  110. android:id="@+id/rcModelTxtFld"
  111. android:layout_width="wrap_content"
  112. android:layout_height="40dp"
  113. android:layout_marginLeft="4dp"
  114. android:layout_weight="2"
  115. android:ems="10"
  116. android:gravity="center_vertical"
  117. android:inputType="text"
  118. android:paddingBottom="9dp"
  119. android:paddingTop="9dp"
  120. android:selectAllOnFocus="true"
  121. android:textSize="18sp"
  122. app:txtFont="@string/TitilliumWeb_Regular" />
  123. </TableRow>
  124. <TableRow
  125. android:id="@+id/tableRCRow4"
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. android:layout_margin="4dp"
  129. android:paddingLeft="8dp" >
  130. <ch.spherIC.recurvebowsight.components.FontTextView
  131. android:id="@+id/rcSizeLbl"
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:layout_gravity="right|center_vertical"
  135. android:gravity="right"
  136. android:text="@string/rcSizeLbl"
  137. android:textColor="@color/black"
  138. app:font="@string/TitilliumWeb_Regular" />
  139. <ch.spherIC.recurvebowsight.components.FontEditText
  140. android:id="@+id/rcSizeTxtFld"
  141. android:layout_width="wrap_content"
  142. android:layout_height="40dp"
  143. android:layout_marginLeft="4dp"
  144. android:layout_weight="1"
  145. android:background="@android:drawable/edit_text"
  146. android:ems="10"
  147. android:gravity="center_vertical"
  148. android:inputType="numberSigned|numberDecimal"
  149. android:paddingBottom="9dp"
  150. android:paddingTop="9dp"
  151. android:selectAllOnFocus="true"
  152. android:textSize="18sp"
  153. app:txtFont="@string/TitilliumWeb_Regular" />
  154. </TableRow>
  155. <TableRow
  156. android:id="@+id/tableRCRow5"
  157. android:layout_width="match_parent"
  158. android:layout_height="wrap_content"
  159. android:layout_margin="4dp"
  160. android:paddingLeft="8dp" >
  161. <ch.spherIC.recurvebowsight.components.FontTextView
  162. android:id="@+id/rcVvisHLbl"
  163. android:layout_width="wrap_content"
  164. android:layout_height="wrap_content"
  165. android:layout_gravity="center_vertical"
  166. android:gravity="right"
  167. android:text="@string/rcVvisHLbl"
  168. android:textColor="@color/black"
  169. app:font="@string/TitilliumWeb_Regular" />
  170. <ch.spherIC.recurvebowsight.components.FontEditText
  171. android:id="@+id/rcVvisHTxtFld"
  172. android:layout_width="wrap_content"
  173. android:layout_height="40dp"
  174. android:layout_marginLeft="4dp"
  175. android:layout_weight="1"
  176. android:ems="10"
  177. android:gravity="center_vertical"
  178. android:inputType="numberSigned|numberDecimal"
  179. android:paddingBottom="9dp"
  180. android:paddingTop="9dp"
  181. android:selectAllOnFocus="true"
  182. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  183. app:txtFont="@string/TitilliumWeb_Regular" />
  184. </TableRow>
  185. <TableRow
  186. android:id="@+id/tableRCRow6"
  187. android:layout_width="match_parent"
  188. android:layout_height="wrap_content"
  189. android:layout_margin="4dp"
  190. android:paddingLeft="8dp" >
  191. <ch.spherIC.recurvebowsight.components.FontTextView
  192. android:id="@+id/rcVvisVLbl"
  193. android:layout_width="wrap_content"
  194. android:layout_height="wrap_content"
  195. android:layout_gravity="right|center_vertical"
  196. android:gravity="right"
  197. android:text="@string/rcVvisVLbl"
  198. android:textColor="@color/black"
  199. app:font="@string/TitilliumWeb_Regular" />
  200. <ch.spherIC.recurvebowsight.components.FontEditText
  201. android:id="@+id/rcVvisVTxtFld"
  202. android:layout_width="wrap_content"
  203. android:layout_height="40dp"
  204. android:layout_marginLeft="4dp"
  205. android:layout_weight="1"
  206. android:ems="10"
  207. android:gravity="center_vertical"
  208. android:inputType="numberSigned|numberDecimal"
  209. android:nextFocusDown="@+id/rcManufacturerTxtFld"
  210. android:paddingBottom="9dp"
  211. android:paddingTop="9dp"
  212. android:selectAllOnFocus="true"
  213. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  214. app:txtFont="@string/TitilliumWeb_Regular" />
  215. </TableRow>
  216. </TableLayout>
  217. <LinearLayout
  218. android:layout_width="match_parent"
  219. android:layout_height="wrap_content"
  220. android:layout_margin="8dp"
  221. android:orientation="horizontal"
  222. android:paddingTop="10dp" >
  223. <Button
  224. android:id="@+id/rcBtnNew"
  225. style="@style/GlassButton"
  226. android:layout_width="wrap_content"
  227. android:layout_height="40dp"
  228. android:layout_marginRight="8dp"
  229. android:layout_weight="1"
  230. android:text="@string/caption_New" />
  231. <Button
  232. android:id="@+id/rcBtnSave"
  233. style="@style/GlassButton"
  234. android:layout_width="wrap_content"
  235. android:layout_height="40dp"
  236. android:layout_marginRight="8dp"
  237. android:layout_weight="1"
  238. android:text="@string/caption_Save" />
  239. <Button
  240. android:id="@+id/rcBtnDelete"
  241. style="@style/GlassButton"
  242. android:layout_width="wrap_content"
  243. android:layout_height="40dp"
  244. android:layout_weight="1"
  245. android:text="@string/caption_Delete" />
  246. </LinearLayout>
  247. </LinearLayout>
  248. </ScrollView></RelativeLayout>