Version für alte Androidversionen der Visiereinstellung für Recurvebogen.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

rbs_main.xml 42KB

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