Version für alte Androidversionen der Visiereinstellung für Recurvebogen.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

rbs_main.xml 46KB

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