Version für alte Androidversionen der Visiereinstellung für Recurvebogen.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

rbs_riser_config.xml 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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.FontTextView
  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="@color/yellow"
  23. android:paddingBottom="3dp"
  24. android:paddingLeft="6dp"
  25. android:paddingTop="3dp"
  26. android:text="@string/rcTitleRiserConfig"
  27. android:textColor="@color/black"
  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/tableSCRow1"
  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/tableSCRow2"
  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:textSize="18sp"
  91. app:txtFont="@string/TitilliumWeb_Regular" />
  92. </TableRow>
  93. <TableRow
  94. android:id="@+id/tableSCRow3"
  95. android:layout_width="wrap_content"
  96. android:layout_height="wrap_content"
  97. android:layout_margin="4dp"
  98. android:paddingLeft="8dp" >
  99. <ch.spherIC.recurvebowsight.components.FontTextView
  100. android:id="@+id/rcModelLbl"
  101. android:layout_width="wrap_content"
  102. android:layout_height="wrap_content"
  103. android:layout_gravity="right|center_vertical"
  104. android:gravity="right"
  105. android:text="@string/rcModel"
  106. android:textColor="@color/black"
  107. app:font="@string/TitilliumWeb_Regular" />
  108. <ch.spherIC.recurvebowsight.components.FontEditText
  109. android:id="@+id/rcModelTxtFld"
  110. android:layout_width="wrap_content"
  111. android:layout_height="40dp"
  112. android:layout_marginLeft="4dp"
  113. android:layout_weight="2"
  114. android:ems="10"
  115. android:gravity="center_vertical"
  116. android:inputType="text"
  117. android:paddingBottom="9dp"
  118. android:paddingTop="9dp"
  119. android:textSize="18sp"
  120. app:txtFont="@string/TitilliumWeb_Regular" />
  121. </TableRow>
  122. <TableRow
  123. android:id="@+id/tableSCRow4"
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:layout_margin="4dp"
  127. android:paddingLeft="8dp" >
  128. <ch.spherIC.recurvebowsight.components.FontTextView
  129. android:id="@+id/rcSizeLbl"
  130. android:layout_width="wrap_content"
  131. android:layout_height="wrap_content"
  132. android:layout_gravity="right|center_vertical"
  133. android:gravity="right"
  134. android:text="@string/rcSizeLbl"
  135. android:textColor="@color/black"
  136. app:font="@string/TitilliumWeb_Regular" />
  137. <ch.spherIC.recurvebowsight.components.FontEditText
  138. android:id="@+id/rcSizeTxtFld"
  139. android:layout_width="wrap_content"
  140. android:layout_height="40dp"
  141. android:layout_marginLeft="4dp"
  142. android:layout_weight="1"
  143. android:background="@android:drawable/edit_text"
  144. android:ems="10"
  145. android:gravity="center_vertical"
  146. android:inputType="numberDecimal"
  147. android:paddingBottom="9dp"
  148. android:paddingTop="9dp"
  149. android:textSize="18sp"
  150. app:txtFont="@string/TitilliumWeb_Regular" />
  151. </TableRow>
  152. <TableRow
  153. android:id="@+id/tableSCRow5"
  154. android:layout_width="match_parent"
  155. android:layout_height="wrap_content"
  156. android:layout_margin="4dp"
  157. android:paddingLeft="8dp" >
  158. <ch.spherIC.recurvebowsight.components.FontTextView
  159. android:id="@+id/rcVvisHLbl"
  160. android:layout_width="wrap_content"
  161. android:layout_height="wrap_content"
  162. android:layout_gravity="center_vertical"
  163. android:gravity="right"
  164. android:text="@string/rcVvisHLbl"
  165. android:textColor="@color/black"
  166. app:font="@string/TitilliumWeb_Regular" />
  167. <ch.spherIC.recurvebowsight.components.FontEditText
  168. android:id="@+id/rcVvisHTxtFld"
  169. android:layout_width="wrap_content"
  170. android:layout_height="40dp"
  171. android:layout_marginLeft="4dp"
  172. android:layout_weight="1"
  173. android:ems="10"
  174. android:gravity="center_vertical"
  175. android:inputType="numberDecimal"
  176. android:paddingBottom="9dp"
  177. android:paddingTop="9dp"
  178. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  179. app:txtFont="@string/TitilliumWeb_Regular" />
  180. </TableRow>
  181. <TableRow
  182. android:id="@+id/tableSCRow6"
  183. android:layout_width="match_parent"
  184. android:layout_height="wrap_content"
  185. android:layout_margin="4dp"
  186. android:paddingLeft="8dp" >
  187. <ch.spherIC.recurvebowsight.components.FontTextView
  188. android:id="@+id/rcVvisVLbl"
  189. android:layout_width="wrap_content"
  190. android:layout_height="wrap_content"
  191. android:layout_gravity="right|center_vertical"
  192. android:gravity="right"
  193. android:text="@string/rcVvisVLbl"
  194. android:textColor="@color/black"
  195. app:font="@string/TitilliumWeb_Regular" />
  196. <ch.spherIC.recurvebowsight.components.FontEditText
  197. android:id="@+id/rcVvisVTxtFld"
  198. android:layout_width="wrap_content"
  199. android:layout_height="40dp"
  200. android:layout_marginLeft="4dp"
  201. android:layout_weight="1"
  202. android:ems="10"
  203. android:gravity="center_vertical"
  204. android:inputType="numberDecimal"
  205. android:paddingBottom="9dp"
  206. android:paddingTop="9dp"
  207. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  208. app:txtFont="@string/TitilliumWeb_Regular" />
  209. </TableRow>
  210. </TableLayout>
  211. <LinearLayout
  212. android:layout_width="match_parent"
  213. android:layout_height="wrap_content"
  214. android:layout_margin="8dp"
  215. android:orientation="horizontal"
  216. android:paddingTop="10dp" >
  217. <Button
  218. android:id="@+id/rcBtnNew"
  219. style="@style/GlassButton"
  220. android:layout_width="wrap_content"
  221. android:layout_height="40dp"
  222. android:layout_marginRight="8dp"
  223. android:layout_weight="1"
  224. android:text="@string/caption_New" />
  225. <Button
  226. android:id="@+id/rcBtnSave"
  227. style="@style/GlassButton"
  228. android:layout_width="wrap_content"
  229. android:layout_height="40dp"
  230. android:layout_marginRight="8dp"
  231. android:layout_weight="1"
  232. android:text="@string/caption_Save" />
  233. <Button
  234. android:id="@+id/rcBtnDelete"
  235. style="@style/GlassButton"
  236. android:layout_width="wrap_content"
  237. android:layout_height="40dp"
  238. android:layout_weight="1"
  239. android:text="@string/caption_Delete" />
  240. </LinearLayout>
  241. </LinearLayout>
  242. </ScrollView></RelativeLayout>