Version für alte Androidversionen der Visiereinstellung für Recurvebogen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rbs_main.xml 47KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954
  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. <LinearLayout
  9. android:id="@+id/views"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content" >
  12. <ch.spherIC.recurvebowsight.components.XTextView
  13. android:id="@+id/viewParams"
  14. android:layout_width="wrap_content"
  15. android:layout_height="40dp"
  16. android:layout_marginLeft="1dp"
  17. android:layout_marginRight="1dp"
  18. android:layout_marginTop="2dp"
  19. android:layout_weight="1"
  20. android:background="@drawable/glassbg_black"
  21. android:gravity="center"
  22. android:paddingBottom="1dip"
  23. android:paddingLeft="3dip"
  24. android:paddingTop="1dip"
  25. android:text="@string/viewParams"
  26. android:textColor="@color/white"
  27. android:textSize="15sp"
  28. android:visibility="visible"
  29. app:drawBorder="true"
  30. app:drawBorderColor="@color/white"
  31. app:drawBorderWidth="3dp"
  32. app:font="@string/TitilliumWeb_Bold" />
  33. <ch.spherIC.recurvebowsight.components.XTextView
  34. android:id="@+id/viewResults"
  35. android:layout_width="wrap_content"
  36. android:layout_height="40dp"
  37. android:layout_marginLeft="1dp"
  38. android:layout_marginRight="1dp"
  39. android:layout_marginTop="2dp"
  40. android:layout_weight="1"
  41. android:background="@drawable/glassbg_black"
  42. android:gravity="center"
  43. android:paddingBottom="1dip"
  44. android:paddingLeft="3dip"
  45. android:paddingTop="1dip"
  46. android:text="@string/viewResults"
  47. android:textColor="@color/white"
  48. android:textSize="15sp"
  49. android:visibility="visible"
  50. app:drawBorder="true"
  51. app:drawBorderColor="@color/white"
  52. app:drawBorderWidth="3dp"
  53. app:font="@string/TitilliumWeb_Bold" />
  54. <ch.spherIC.recurvebowsight.components.XTextView
  55. android:id="@+id/viewSight"
  56. android:layout_width="wrap_content"
  57. android:layout_height="40dp"
  58. android:layout_marginLeft="1dp"
  59. android:layout_marginRight="1dp"
  60. android:layout_marginTop="2dip"
  61. android:layout_weight="1"
  62. android:background="@drawable/glassbg_black"
  63. android:gravity="center"
  64. android:paddingBottom="1dip"
  65. android:paddingLeft="3dip"
  66. android:paddingTop="1dip"
  67. android:text="@string/viewSight"
  68. android:textColor="@color/white"
  69. android:textSize="15sp"
  70. android:visibility="visible"
  71. app:drawBorder="true"
  72. app:drawBorderColor="@color/white"
  73. app:drawBorderWidth="3dp"
  74. app:font="@string/TitilliumWeb_Bold" />
  75. </LinearLayout>
  76. <ViewFlipper
  77. android:id="@+id/viewFlipper"
  78. android:layout_width="match_parent"
  79. android:layout_height="match_parent"
  80. android:layout_below="@id/views"
  81. android:scrollbarAlwaysDrawVerticalTrack="false" >
  82. <ScrollView
  83. android:id="@+id/paramsScrollView"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:scrollbars="vertical" >
  87. <TableLayout
  88. android:id="@+id/inputParams"
  89. android:layout_width="match_parent"
  90. android:layout_height="wrap_content"
  91. android:gravity="fill_vertical|fill_horizontal"
  92. android:scrollbarStyle="insideOverlay"
  93. android:scrollbars="vertical" >
  94. <TableRow
  95. android:id="@+id/tableRow0"
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content"
  98. android:layout_gravity="center"
  99. android:layout_margin="4dp" >
  100. <ch.spherIC.recurvebowsight.components.FontTextView
  101. android:id="@+id/bowAndArrowParams"
  102. android:layout_width="fill_parent"
  103. android:layout_height="wrap_content"
  104. android:layout_weight="1"
  105. android:background="@color/yellow"
  106. android:paddingBottom="3dip"
  107. android:paddingLeft="6dp"
  108. android:paddingTop="3dip"
  109. android:text="@string/titleBowAndArrowParams"
  110. android:textColor="@color/black"
  111. android:textStyle="bold"
  112. app:font="@string/TitilliumWeb_Bold" />
  113. </TableRow>
  114. <TableRow
  115. android:id="@+id/tableRow1"
  116. android:layout_width="match_parent"
  117. android:layout_height="wrap_content"
  118. android:layout_gravity="center"
  119. android:layout_margin="4dp" >
  120. <ch.spherIC.recurvebowsight.components.FontTextView
  121. android:id="@+id/arrowDiameterLbl"
  122. android:layout_width="fill_parent"
  123. android:layout_height="wrap_content"
  124. android:layout_gravity="right|center_vertical"
  125. android:text="@string/arrowDiameterLbl"
  126. android:textColor="@color/black"
  127. app:font="@string/TitilliumWeb_Regular" />
  128. <ch.spherIC.recurvebowsight.components.FontEditText
  129. android:id="@+id/arrowDiameterTxtFld"
  130. android:layout_width="wrap_content"
  131. android:layout_height="40dp"
  132. android:layout_marginLeft="4dp"
  133. android:layout_weight="1"
  134. android:ems="10"
  135. android:gravity="center_vertical"
  136. android:inputType="numberDecimal"
  137. android:paddingBottom="9dp"
  138. android:paddingTop="9dp"
  139. android:textSize="18sp"
  140. android:typeface="sans"
  141. app:txtFont="@string/TitilliumWeb_Regular" />
  142. </TableRow>
  143. <TableRow
  144. android:id="@+id/tableRow2"
  145. android:layout_width="match_parent"
  146. android:layout_height="wrap_content"
  147. android:layout_gravity="center"
  148. android:layout_margin="4dp" >
  149. <ch.spherIC.recurvebowsight.components.FontTextView
  150. android:id="@+id/arrowCwLbl"
  151. android:layout_width="fill_parent"
  152. android:layout_height="wrap_content"
  153. android:layout_gravity="right|center_vertical"
  154. android:text="@string/arrowCwLbl"
  155. android:textColor="@color/black"
  156. app:font="@string/TitilliumWeb_Regular" />
  157. <ch.spherIC.recurvebowsight.components.FontEditText
  158. android:id="@+id/arrowCwTxtFld"
  159. android:layout_width="wrap_content"
  160. android:layout_height="40dp"
  161. android:layout_marginLeft="4dp"
  162. android:layout_weight="1"
  163. android:ems="10"
  164. android:gravity="center_vertical"
  165. android:inputType="numberDecimal"
  166. android:paddingBottom="9dp"
  167. android:paddingTop="9dp"
  168. android:textSize="18sp"
  169. app:txtFont="@string/TitilliumWeb_Regular" />
  170. </TableRow>
  171. <TableRow
  172. android:id="@+id/tableRow3"
  173. android:layout_width="match_parent"
  174. android:layout_height="wrap_content"
  175. android:layout_gravity="center"
  176. android:layout_margin="4dp" >
  177. <ch.spherIC.recurvebowsight.components.FontTextView
  178. android:id="@+id/arrowWeightLbl"
  179. android:layout_width="fill_parent"
  180. android:layout_height="wrap_content"
  181. android:layout_gravity="right|center_vertical"
  182. android:text="@string/arrowWeightLbl"
  183. android:textColor="@color/black"
  184. app:font="@string/TitilliumWeb_Regular" />
  185. <ch.spherIC.recurvebowsight.components.FontEditText
  186. android:id="@+id/arrowWeightTxtFld"
  187. android:layout_width="wrap_content"
  188. android:layout_height="40dp"
  189. android:layout_marginLeft="4dp"
  190. android:layout_weight="1"
  191. android:ems="10"
  192. android:gravity="center_vertical"
  193. android:inputType="numberDecimal"
  194. android:paddingBottom="9dp"
  195. android:paddingTop="9dp"
  196. android:textSize="18sp"
  197. app:txtFont="@string/TitilliumWeb_Regular" />
  198. </TableRow>
  199. <TableRow
  200. android:id="@+id/tableRow4"
  201. android:layout_width="match_parent"
  202. android:layout_height="wrap_content"
  203. android:layout_gravity="center"
  204. android:layout_margin="4dp" >
  205. <ch.spherIC.recurvebowsight.components.FontTextView
  206. android:id="@+id/bowPulloutLbl"
  207. android:layout_width="fill_parent"
  208. android:layout_height="wrap_content"
  209. android:layout_gravity="right|center_vertical"
  210. android:text="@string/bowPulloutLbl"
  211. android:textColor="@color/black"
  212. app:font="@string/TitilliumWeb_Regular" />
  213. <ch.spherIC.recurvebowsight.components.FontEditText
  214. android:id="@+id/bowPulloutTxtFld"
  215. android:layout_width="wrap_content"
  216. android:layout_height="40dp"
  217. android:layout_marginLeft="4dp"
  218. android:layout_weight="1"
  219. android:ems="10"
  220. android:gravity="center_vertical"
  221. android:inputType="numberDecimal"
  222. android:paddingBottom="9dp"
  223. android:paddingTop="9dp"
  224. android:textSize="18sp"
  225. app:txtFont="@string/TitilliumWeb_Regular" />
  226. </TableRow>
  227. <TableRow
  228. android:id="@+id/tableRow5"
  229. android:layout_width="match_parent"
  230. android:layout_height="wrap_content"
  231. android:layout_gravity="center"
  232. android:layout_margin="4dp" >
  233. <ch.spherIC.recurvebowsight.components.FontTextView
  234. android:id="@+id/arrowV0Lbl"
  235. android:layout_width="fill_parent"
  236. android:layout_height="wrap_content"
  237. android:layout_gravity="right|center_vertical"
  238. android:text="@string/arrowV0Lbl"
  239. android:textColor="@color/black"
  240. app:font="@string/TitilliumWeb_Regular" />
  241. <ch.spherIC.recurvebowsight.components.FontEditText
  242. android:id="@+id/arrowV0TxtFld"
  243. android:layout_width="wrap_content"
  244. android:layout_height="40dp"
  245. android:layout_marginLeft="4dp"
  246. android:layout_weight="1"
  247. android:ems="10"
  248. android:gravity="center_vertical"
  249. android:inputType="numberDecimal"
  250. android:paddingBottom="9dp"
  251. android:paddingTop="9dp"
  252. android:textSize="18sp"
  253. app:txtFont="@string/TitilliumWeb_Regular" />
  254. </TableRow>
  255. <TableRow
  256. android:id="@+id/tableRow6"
  257. android:layout_width="match_parent"
  258. android:layout_height="wrap_content"
  259. android:layout_gravity="center"
  260. android:layout_margin="4dp" >
  261. <ch.spherIC.recurvebowsight.components.FontTextView
  262. android:id="@+id/atmosphericalParams"
  263. android:layout_width="fill_parent"
  264. android:layout_height="wrap_content"
  265. android:layout_weight="1"
  266. android:background="@color/yellow"
  267. android:paddingBottom="3dip"
  268. android:paddingLeft="6dp"
  269. android:paddingTop="3dip"
  270. android:text="@string/titleAtmosphericalParams"
  271. android:textColor="@color/black"
  272. android:textStyle="bold"
  273. app:font="@string/TitilliumWeb_Bold" />
  274. </TableRow>
  275. <TableRow
  276. android:id="@+id/tableRow7"
  277. android:layout_width="wrap_content"
  278. android:layout_height="wrap_content"
  279. android:layout_gravity="center"
  280. android:layout_margin="4dp" >
  281. <ch.spherIC.recurvebowsight.components.FontTextView
  282. android:id="@+id/airTemperatureLbl"
  283. android:layout_width="fill_parent"
  284. android:layout_height="wrap_content"
  285. android:layout_gravity="right|center_vertical"
  286. android:text="@string/airTemperatureLbl"
  287. android:textColor="@color/black"
  288. app:font="@string/TitilliumWeb_Regular" />
  289. <ch.spherIC.recurvebowsight.components.FontEditText
  290. android:id="@+id/airTemperatureTxtFld"
  291. android:layout_width="wrap_content"
  292. android:layout_height="40dp"
  293. android:layout_marginLeft="4dp"
  294. android:layout_weight="1"
  295. android:ems="10"
  296. android:gravity="center_vertical"
  297. android:inputType="numberDecimal"
  298. android:paddingBottom="9dp"
  299. android:paddingTop="9dp"
  300. android:textSize="18sp"
  301. app:txtFont="@string/TitilliumWeb_Regular" />
  302. </TableRow>
  303. <TableRow
  304. android:id="@+id/tableRow9"
  305. android:layout_width="wrap_content"
  306. android:layout_height="wrap_content"
  307. android:layout_gravity="center"
  308. android:layout_margin="4dp" >
  309. <ch.spherIC.recurvebowsight.components.FontTextView
  310. android:id="@+id/airRelativeHumidityLbl"
  311. android:layout_width="fill_parent"
  312. android:layout_height="wrap_content"
  313. android:layout_gravity="right|center_vertical"
  314. android:text="@string/airRelativeHumidityLbl"
  315. android:textColor="@color/black"
  316. app:font="@string/TitilliumWeb_Regular" />
  317. <ch.spherIC.recurvebowsight.components.FontEditText
  318. android:id="@+id/airRelativeHumidityTxtFld"
  319. android:layout_width="wrap_content"
  320. android:layout_height="40dp"
  321. android:layout_marginLeft="4dp"
  322. android:layout_weight="1"
  323. android:ems="10"
  324. android:gravity="center_vertical"
  325. android:inputType="numberDecimal"
  326. android:paddingBottom="9dp"
  327. android:paddingTop="9dp"
  328. android:textSize="18sp"
  329. app:txtFont="@string/TitilliumWeb_Regular" />
  330. </TableRow>
  331. <TableRow
  332. android:id="@+id/tableRow10"
  333. android:layout_width="match_parent"
  334. android:layout_height="wrap_content"
  335. android:layout_gravity="center"
  336. android:layout_margin="4dp" >
  337. <ch.spherIC.recurvebowsight.components.FontTextView
  338. android:id="@+id/shootingParams"
  339. android:layout_width="fill_parent"
  340. android:layout_height="wrap_content"
  341. android:layout_weight="1"
  342. android:background="@color/yellow"
  343. android:paddingBottom="3dip"
  344. android:paddingLeft="6dp"
  345. android:paddingTop="3dip"
  346. android:text="@string/titleShootingParams"
  347. android:textColor="@color/black"
  348. android:textStyle="bold"
  349. app:font="@string/TitilliumWeb_Bold" />
  350. </TableRow>
  351. <TableRow
  352. android:id="@+id/tableRow11"
  353. android:layout_width="wrap_content"
  354. android:layout_height="wrap_content"
  355. android:layout_gravity="center"
  356. android:layout_margin="4dp" >
  357. <ch.spherIC.recurvebowsight.components.FontTextView
  358. android:id="@+id/shootingDistanzLbl"
  359. android:layout_width="fill_parent"
  360. android:layout_height="wrap_content"
  361. android:layout_gravity="right|center_vertical"
  362. android:text="@string/shootingDistanzLbl"
  363. android:textColor="@color/black"
  364. app:font="@string/TitilliumWeb_Regular" />
  365. <ch.spherIC.recurvebowsight.components.FontEditText
  366. android:id="@+id/shootingDistanzTxtFld"
  367. android:layout_width="wrap_content"
  368. android:layout_height="40dp"
  369. android:layout_marginLeft="4dp"
  370. android:layout_weight="1"
  371. android:ems="10"
  372. android:gravity="center_vertical"
  373. android:inputType="numberDecimal"
  374. android:paddingBottom="9dp"
  375. android:paddingTop="9dp"
  376. android:textSize="18sp"
  377. app:txtFont="@string/TitilliumWeb_Regular" />
  378. </TableRow>
  379. <TableRow
  380. android:id="@+id/tableRow12"
  381. android:layout_width="wrap_content"
  382. android:layout_height="wrap_content"
  383. android:layout_gravity="center"
  384. android:layout_margin="4dp" >
  385. <ch.spherIC.recurvebowsight.components.FontTextView
  386. android:id="@+id/arrowNockHeightLbl"
  387. android:layout_width="fill_parent"
  388. android:layout_height="wrap_content"
  389. android:layout_gravity="right|center_vertical"
  390. android:text="@string/arrowNockHeightLbl"
  391. android:textColor="@color/black"
  392. app:font="@string/TitilliumWeb_Regular" />
  393. <ch.spherIC.recurvebowsight.components.FontEditText
  394. android:id="@+id/arrowNockHeightTxtFld"
  395. android:layout_width="wrap_content"
  396. android:layout_height="40dp"
  397. android:layout_marginLeft="4dp"
  398. android:layout_weight="1"
  399. android:ems="10"
  400. android:gravity="center_vertical"
  401. android:inputType="numberDecimal"
  402. android:paddingBottom="9dp"
  403. android:paddingTop="9dp"
  404. android:textSize="18sp"
  405. app:txtFont="@string/TitilliumWeb_Regular" />
  406. </TableRow>
  407. <TableRow
  408. android:id="@+id/tableRow13"
  409. android:layout_width="wrap_content"
  410. android:layout_height="wrap_content"
  411. android:layout_gravity="center"
  412. android:layout_margin="4dp" >
  413. <ch.spherIC.recurvebowsight.components.FontTextView
  414. android:id="@+id/targetCenterHeightLbl"
  415. android:layout_width="fill_parent"
  416. android:layout_height="wrap_content"
  417. android:layout_gravity="right|center_vertical"
  418. android:text="@string/targetCenterHeightLbl"
  419. android:textColor="@color/black"
  420. app:font="@string/TitilliumWeb_Regular" />
  421. <ch.spherIC.recurvebowsight.components.FontEditText
  422. android:id="@+id/targetCenterHeightTxtFld"
  423. android:layout_width="wrap_content"
  424. android:layout_height="40dp"
  425. android:layout_marginLeft="4dp"
  426. android:layout_weight="1"
  427. android:ems="10"
  428. android:gravity="center_vertical"
  429. android:inputType="numberDecimal"
  430. android:paddingBottom="9dp"
  431. android:paddingTop="9dp"
  432. android:textSize="18sp"
  433. app:txtFont="@string/TitilliumWeb_Regular" />
  434. </TableRow>
  435. <TableRow
  436. android:id="@+id/tableRow14"
  437. android:layout_width="match_parent"
  438. android:layout_height="wrap_content"
  439. android:layout_gravity="center"
  440. android:layout_margin="4dp" >
  441. <ch.spherIC.recurvebowsight.components.FontTextView
  442. android:id="@+id/calculationParams"
  443. android:layout_width="fill_parent"
  444. android:layout_height="wrap_content"
  445. android:layout_weight="1"
  446. android:background="@color/yellow"
  447. android:paddingBottom="3dip"
  448. android:paddingLeft="6dp"
  449. android:paddingTop="3dip"
  450. android:text="@string/titleCalculationParams"
  451. android:textColor="@color/black"
  452. android:textStyle="bold"
  453. app:font="@string/TitilliumWeb_Bold" />
  454. </TableRow>
  455. <TableRow
  456. android:id="@+id/tableRow15"
  457. android:layout_width="wrap_content"
  458. android:layout_height="wrap_content"
  459. android:layout_gravity="center"
  460. android:layout_margin="4dp" >
  461. <ch.spherIC.recurvebowsight.components.FontTextView
  462. android:id="@+id/deltaTimeLbl"
  463. android:layout_width="fill_parent"
  464. android:layout_height="wrap_content"
  465. android:layout_gravity="right|center_vertical"
  466. android:text="@string/deltaTimeLbl"
  467. android:textColor="@color/black"
  468. app:font="@string/TitilliumWeb_Regular" />
  469. <ch.spherIC.recurvebowsight.components.XSpinner
  470. android:id="@+id/deltaTimeCboBox"
  471. style="@style/GlassSpinner"
  472. android:layout_width="wrap_content"
  473. android:layout_height="40dp"
  474. android:layout_marginLeft="4dp"
  475. android:layout_weight="1"
  476. android:ems="10"
  477. android:gravity="center_vertical"
  478. android:inputType="numberDecimal"
  479. android:paddingBottom="9dp"
  480. android:paddingTop="9dp"
  481. android:textSize="18sp" />
  482. </TableRow>
  483. <TableRow
  484. android:id="@+id/tableRow16"
  485. android:layout_width="wrap_content"
  486. android:layout_height="wrap_content"
  487. android:layout_gravity="center"
  488. android:layout_margin="4dp" >
  489. <ch.spherIC.recurvebowsight.components.FontTextView
  490. android:id="@+id/calcPrecisionLbl"
  491. android:layout_width="fill_parent"
  492. android:layout_height="wrap_content"
  493. android:layout_gravity="right|center_vertical"
  494. android:text="@string/calcPrecisionLbl"
  495. android:textColor="@color/black"
  496. app:font="@string/TitilliumWeb_Regular" />
  497. <ch.spherIC.recurvebowsight.components.XSpinner
  498. android:id="@+id/calcPrecisionCboBox"
  499. style="@style/GlassSpinner"
  500. android:layout_width="wrap_content"
  501. android:layout_height="40dp"
  502. android:layout_marginLeft="4dp"
  503. android:layout_weight="1"
  504. android:ems="10"
  505. android:entries="@array/CalculationAccuracies"
  506. android:gravity="center_vertical"
  507. android:inputType="numberDecimal"
  508. android:paddingBottom="9dp"
  509. android:paddingTop="9dp"
  510. android:textSize="18sp" />
  511. </TableRow>
  512. </TableLayout>
  513. </ScrollView>
  514. <LinearLayout
  515. android:id="@+id/ballisticResults"
  516. android:layout_width="match_parent"
  517. android:layout_height="match_parent"
  518. android:orientation="vertical" >
  519. <ch.spherIC.recurvebowsight.components.FontEditText
  520. android:id="@+id/editText10"
  521. android:layout_width="match_parent"
  522. android:layout_height="40dp"
  523. android:inputType="numberDecimal"
  524. android:textSize="18sp"
  525. app:txtFont="@string/TitilliumWeb_Regular" />
  526. <ListView
  527. android:id="@+id/listView1"
  528. android:layout_width="match_parent"
  529. android:layout_height="wrap_content" >
  530. </ListView>
  531. </LinearLayout>
  532. <ScrollView
  533. android:id="@+id/sightCfgScrollView"
  534. android:layout_width="match_parent"
  535. android:layout_height="match_parent" >
  536. <LinearLayout
  537. android:id="@+id/sightConfig"
  538. android:layout_width="match_parent"
  539. android:layout_height="wrap_content"
  540. android:orientation="vertical" >
  541. <TableLayout
  542. android:id="@+id/sightConfigTbl"
  543. android:layout_width="match_parent"
  544. android:layout_height="wrap_content"
  545. android:gravity="fill_vertical|fill_horizontal"
  546. android:scrollbarStyle="insideOverlay"
  547. android:scrollbars="vertical" >
  548. <TableRow
  549. android:id="@+id/tableSCRow0"
  550. android:layout_width="match_parent"
  551. android:layout_height="wrap_content" >
  552. <LinearLayout
  553. android:id="@+id/scTitleBarLayout"
  554. android:layout_width="match_parent"
  555. android:layout_height="wrap_content"
  556. android:layout_margin="4dp"
  557. android:layout_weight="1"
  558. android:orientation="horizontal" >
  559. <ch.spherIC.recurvebowsight.components.FontTextView
  560. android:id="@+id/sightConfigTitle"
  561. android:layout_width="0dp"
  562. android:layout_height="wrap_content"
  563. android:layout_marginRight="4dp"
  564. android:layout_weight="1"
  565. android:background="@color/yellow"
  566. android:paddingBottom="3dp"
  567. android:paddingLeft="6dp"
  568. android:paddingTop="3dp"
  569. android:text="@string/titleSightConfig"
  570. android:textColor="@color/black"
  571. android:textStyle="bold"
  572. app:font="@string/TitilliumWeb_Bold" />
  573. <Button
  574. android:id="@+id/scBtnCalc"
  575. style="@style/GlassButtonSmall"
  576. android:layout_width="44dp"
  577. android:layout_height="wrap_content"
  578. android:drawableRight="@drawable/btn_calc" />
  579. </LinearLayout>
  580. </TableRow>
  581. <TableRow
  582. android:id="@+id/tableSCRow1"
  583. android:layout_width="match_parent"
  584. android:layout_height="wrap_content"
  585. android:layout_gravity="center"
  586. android:layout_margin="4dp" >
  587. <ch.spherIC.recurvebowsight.components.FontTextView
  588. android:id="@+id/scRiserLbl"
  589. android:layout_width="fill_parent"
  590. android:layout_height="wrap_content"
  591. android:layout_gravity="right|center_vertical"
  592. android:text="@string/scRiserLbl"
  593. android:textColor="@color/black"
  594. app:font="@string/TitilliumWeb_Regular" />
  595. <ch.spherIC.recurvebowsight.components.RiserSpinner
  596. android:id="@+id/scRiserSpinner"
  597. style="@style/GlassSpinner"
  598. android:layout_width="wrap_content"
  599. android:layout_height="40dp"
  600. android:layout_marginLeft="4dp"
  601. android:layout_weight="1"
  602. android:gravity="center_vertical"
  603. android:paddingBottom="9dp"
  604. android:paddingTop="9dp" />
  605. </TableRow>
  606. <TableRow
  607. android:id="@+id/tableSCRow2"
  608. android:layout_width="match_parent"
  609. android:layout_height="wrap_content"
  610. android:layout_gravity="center"
  611. android:layout_margin="4dp" >
  612. <ch.spherIC.recurvebowsight.components.FontTextView
  613. android:id="@+id/scVvisHLbl"
  614. android:layout_width="fill_parent"
  615. android:layout_height="wrap_content"
  616. android:layout_gravity="right|center_vertical"
  617. android:text="@string/scVvisHLbl"
  618. android:textColor="@color/black"
  619. app:font="@string/TitilliumWeb_Regular" />
  620. <ch.spherIC.recurvebowsight.components.FontEditText
  621. android:id="@+id/scVvisHTxtFld"
  622. android:layout_width="wrap_content"
  623. android:layout_height="40dp"
  624. android:layout_marginLeft="4dp"
  625. android:layout_weight="1"
  626. android:ems="10"
  627. android:gravity="center_vertical"
  628. android:inputType="numberDecimal"
  629. android:paddingBottom="9dp"
  630. android:paddingTop="9dp"
  631. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  632. app:txtFont="@string/TitilliumWeb_Regular" />
  633. </TableRow>
  634. <TableRow
  635. android:id="@+id/tableSCRow3"
  636. android:layout_width="match_parent"
  637. android:layout_height="wrap_content"
  638. android:layout_gravity="center"
  639. android:layout_margin="4dp" >
  640. <ch.spherIC.recurvebowsight.components.FontTextView
  641. android:id="@+id/scVvisVLbl"
  642. android:layout_width="fill_parent"
  643. android:layout_height="wrap_content"
  644. android:layout_gravity="right|center_vertical"
  645. android:text="@string/scVvisVLbl"
  646. android:textColor="@color/black"
  647. app:font="@string/TitilliumWeb_Regular" />
  648. <ch.spherIC.recurvebowsight.components.FontEditText
  649. android:id="@+id/scVvisVTxtFld"
  650. android:layout_width="wrap_content"
  651. android:layout_height="40dp"
  652. android:layout_marginLeft="4dp"
  653. android:layout_weight="1"
  654. android:ems="10"
  655. android:gravity="center_vertical"
  656. android:inputType="numberDecimal"
  657. android:paddingBottom="9dp"
  658. android:paddingTop="9dp"
  659. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  660. app:txtFont="@string/TitilliumWeb_Regular" />
  661. </TableRow>
  662. <TableRow
  663. android:id="@+id/tableSCRow4"
  664. android:layout_width="match_parent"
  665. android:layout_height="wrap_content"
  666. android:layout_gravity="center"
  667. android:layout_margin="4dp" >
  668. <ch.spherIC.recurvebowsight.components.FontTextView
  669. android:id="@+id/scSightLbl"
  670. android:layout_width="fill_parent"
  671. android:layout_height="wrap_content"
  672. android:layout_gravity="right|center_vertical"
  673. android:text="@string/scSightLbl"
  674. android:textColor="@color/black"
  675. app:font="@string/TitilliumWeb_Regular" />
  676. <ch.spherIC.recurvebowsight.components.SightSpinner
  677. android:id="@+id/scSightSpinner"
  678. style="@style/GlassSpinner"
  679. android:layout_width="wrap_content"
  680. android:layout_height="40dp"
  681. android:layout_marginLeft="4dp"
  682. android:layout_weight="1"
  683. android:gravity="center_vertical"
  684. android:paddingBottom="9dp"
  685. android:paddingTop="9dp" />
  686. </TableRow>
  687. <TableRow
  688. android:id="@+id/tableSCRow5"
  689. android:layout_width="match_parent"
  690. android:layout_height="wrap_content"
  691. android:layout_gravity="center"
  692. android:layout_margin="4dp" >
  693. <ch.spherIC.recurvebowsight.components.FontTextView
  694. android:id="@+id/scHeVSLbl"
  695. android:layout_width="fill_parent"
  696. android:layout_height="wrap_content"
  697. android:layout_gravity="right|center_vertical"
  698. android:text="@string/scHeVSLbl"
  699. android:textColor="@color/black"
  700. app:font="@string/TitilliumWeb_Regular" />
  701. <LinearLayout
  702. android:id="@+id/heVSWrapper"
  703. android:layout_width="0dp"
  704. android:layout_height="40dp"
  705. android:layout_marginLeft="4dp"
  706. android:layout_weight="1" >
  707. <ch.spherIC.recurvebowsight.components.XSpinner
  708. android:id="@+id/scHeVSSpinner"
  709. style="@style/GlassSpinner"
  710. android:layout_width="0dp"
  711. android:layout_height="40dp"
  712. android:layout_weight="1"
  713. android:gravity="center_vertical"
  714. android:paddingBottom="9dp"
  715. android:paddingTop="9dp" />
  716. <ch.spherIC.recurvebowsight.components.FontEditText
  717. android:id="@+id/scHeVSTxtFld"
  718. android:layout_width="0dp"
  719. android:layout_height="40dp"
  720. android:ems="10"
  721. android:inputType="numberDecimal"
  722. android:paddingBottom="9dp"
  723. android:paddingTop="9dp"
  724. android:textSize="18sp"
  725. android:visibility="invisible"
  726. app:txtFont="@string/TitilliumWeb_Regular" />
  727. </LinearLayout>
  728. </TableRow>
  729. <TableRow
  730. android:id="@+id/tableSCRow7"
  731. android:layout_width="wrap_content"
  732. android:layout_height="wrap_content"
  733. android:layout_gravity="center"
  734. android:layout_margin="4dp" >
  735. <ch.spherIC.recurvebowsight.components.FontTextView
  736. android:id="@+id/scaVLbl"
  737. android:layout_width="fill_parent"
  738. android:layout_height="wrap_content"
  739. android:layout_gravity="right|center_vertical"
  740. android:text="@string/scaVLbl"
  741. android:textColor="@color/black"
  742. app:font="@string/TitilliumWeb_Regular" />
  743. <ch.spherIC.recurvebowsight.components.FontEditText
  744. android:id="@+id/scaVTxtFld"
  745. android:layout_width="wrap_content"
  746. android:layout_height="40dp"
  747. android:layout_marginLeft="4dp"
  748. android:layout_weight="1"
  749. android:ems="10"
  750. android:gravity="center_vertical"
  751. android:inputType="numberDecimal"
  752. android:paddingBottom="9dp"
  753. android:paddingTop="9dp"
  754. android:textSize="18sp"
  755. app:txtFont="@string/TitilliumWeb_Regular" />
  756. <ch.spherIC.recurvebowsight.components.FontEditText
  757. android:id="@+id/scaHTxtFld"
  758. android:layout_width="wrap_content"
  759. android:layout_height="40dp"
  760. android:layout_marginLeft="4dp"
  761. android:layout_weight="1"
  762. android:ems="10"
  763. android:gravity="center_vertical"
  764. android:inputType="numberDecimal"
  765. android:paddingBottom="9dp"
  766. android:paddingTop="9dp"
  767. android:textSize="18sp"
  768. app:txtFont="@string/TitilliumWeb_Regular" />
  769. </TableRow>
  770. <TableRow
  771. android:id="@+id/tableSCRow8"
  772. android:layout_width="wrap_content"
  773. android:layout_height="wrap_content"
  774. android:layout_gravity="center"
  775. android:layout_margin="4dp" >
  776. <ch.spherIC.recurvebowsight.components.FontTextView
  777. android:id="@+id/scVertScaleRngLbl"
  778. android:layout_width="fill_parent"
  779. android:layout_height="wrap_content"
  780. android:layout_gravity="right|center_vertical"
  781. android:text="@string/scVertScaleRngLbl"
  782. android:textColor="@color/black"
  783. app:font="@string/TitilliumWeb_Regular" />
  784. <ch.spherIC.recurvebowsight.components.FontEditText
  785. android:id="@+id/scVertScaleRngTxtFld"
  786. android:layout_width="wrap_content"
  787. android:layout_height="40dp"
  788. android:layout_marginLeft="4dp"
  789. android:layout_weight="1"
  790. android:ems="10"
  791. android:gravity="center_vertical"
  792. android:inputType="numberDecimal"
  793. android:paddingBottom="9dp"
  794. android:paddingTop="9dp"
  795. android:textSize="18sp"
  796. app:txtFont="@string/TitilliumWeb_Regular" />
  797. </TableRow>
  798. <TableRow
  799. android:id="@+id/tableSCRow9"
  800. android:layout_width="wrap_content"
  801. android:layout_height="wrap_content"
  802. android:layout_gravity="center"
  803. android:layout_margin="4dp" >
  804. <ch.spherIC.recurvebowsight.components.FontTextView
  805. android:id="@+id/scVertSkalaMiddleLbl"
  806. android:layout_width="fill_parent"
  807. android:layout_height="wrap_content"
  808. android:layout_gravity="right|center_vertical"
  809. android:text="@string/scVertSkalaMiddleLbl"
  810. android:textColor="@color/black"
  811. app:font="@string/TitilliumWeb_Regular" />
  812. <ch.spherIC.recurvebowsight.components.FontEditText
  813. android:id="@+id/scVertSkalaMiddleTxtFld"
  814. android:layout_width="wrap_content"
  815. android:layout_height="40dp"
  816. android:layout_marginLeft="4dp"
  817. android:layout_weight="1"
  818. android:background="@android:drawable/edit_text"
  819. android:ems="10"
  820. android:gravity="center_vertical"
  821. android:inputType="numberDecimal"
  822. android:paddingBottom="9dp"
  823. android:paddingTop="9dp"
  824. android:textSize="18sp"
  825. app:txtFont="@string/TitilliumWeb_Regular" >
  826. <requestFocus />
  827. </ch.spherIC.recurvebowsight.components.FontEditText>
  828. </TableRow>
  829. <TableRow
  830. android:id="@+id/tableSCRow10"
  831. android:layout_width="wrap_content"
  832. android:layout_height="wrap_content"
  833. android:layout_gravity="center"
  834. android:layout_margin="4dp" >
  835. <ch.spherIC.recurvebowsight.components.FontTextView
  836. android:id="@+id/scEvSLbl"
  837. android:layout_width="fill_parent"
  838. android:layout_height="wrap_content"
  839. android:layout_gravity="right|center_vertical"
  840. android:text="@string/scEvSLbl"
  841. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  842. android:textColor="@color/black"
  843. app:font="@string/TitilliumWeb_Bold" />
  844. <ch.spherIC.recurvebowsight.components.FontTextView
  845. android:id="@+id/scEvSValue"
  846. android:layout_width="wrap_content"
  847. android:layout_height="38dp"
  848. android:layout_marginLeft="5dp"
  849. android:layout_marginRight="1dp"
  850. android:layout_weight="1"
  851. android:background="@drawable/evs_background"
  852. android:gravity="left|center_vertical"
  853. android:paddingLeft="9dp"
  854. android:textAppearance="?android:attr/textAppearanceMediumInverse"
  855. app:txtFont="@string/TitilliumWeb_Bold" />
  856. </TableRow>
  857. </TableLayout>
  858. </LinearLayout>
  859. </ScrollView>
  860. </ViewFlipper>
  861. </RelativeLayout>