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 43KB

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