Version für alte Androidversionen der Visiereinstellung für Recurvebogen.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

rbs_main.xml 48KB

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