main.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent">
  5. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:layout_height="fill_parent"
  7. android:scrollbars="vertical"
  8. android:scrollbarStyle="outsideOverlay"
  9. android:layout_width="match_parent"
  10. android:orientation="vertical">
  11. <ImageView android:id="@+id/ProgLogo"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:src="@drawable/logo_top"
  15. android:layout_gravity="center_horizontal">
  16. </ImageView>
  17. <RadioGroup android:id="@+id/rbMODE"
  18. android:layout_width="fill_parent"
  19. android:layout_height="wrap_content"
  20. android:orientation="horizontal"
  21. android:gravity="center">
  22. <RadioButton android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:text="@string/button_for"
  25. android:id="@+id/rbfor"
  26. android:checked="true"
  27. android:gravity="center|left"
  28. android:layout_weight="1"/>
  29. <RadioButton android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="@string/button_bac"
  32. android:id="@+id/rbbac"
  33. android:gravity="center|left"
  34. android:layout_weight="2"/>
  35. </RadioGroup>
  36. <RadioGroup android:id="@+id/rbETHANOL"
  37. android:layout_width="fill_parent"
  38. android:layout_height="wrap_content"
  39. android:orientation="horizontal"
  40. android:gravity="center">
  41. <RadioButton android:text="@string/e5"
  42. android:id="@+id/rbe5"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:checked="true"
  46. android:gravity="center|left"
  47. android:layout_weight="1"/>
  48. <RadioButton android:text="@string/e10"
  49. android:id="@+id/rbe10"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:gravity="center|left"
  53. android:layout_weight="2"
  54. android:checked="true"/>
  55. </RadioGroup>
  56. <EditText
  57. android:id="@+id/for_enter_super"
  58. android:layout_width="fill_parent"
  59. android:layout_height="wrap_content"
  60. android:hint="@string/enter_super"
  61. android:numeric="decimal"
  62. android:textSize="@dimen/bigTextValues"
  63. android:textStyle="bold" />
  64. <EditText
  65. android:id="@+id/for_enter_bio"
  66. android:layout_width="fill_parent"
  67. android:layout_height="wrap_content"
  68. android:hint="@string/enter_bio"
  69. android:numeric="decimal"
  70. android:textSize="@dimen/bigTextValues"
  71. android:textStyle="bold" />
  72. <EditText
  73. android:id="@+id/bac_enter_affair"
  74. android:layout_width="fill_parent"
  75. android:layout_height="wrap_content"
  76. android:enabled="false"
  77. android:hint="@string/enter_affair"
  78. android:numeric="integer|decimal"
  79. android:textColor="@color/green"
  80. android:textSize="@dimen/bigTextValues"
  81. android:textStyle="bold" />
  82. <EditText
  83. android:id="@+id/bac_enter_full"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:enabled="false"
  87. android:hint="@string/enter_full"
  88. android:numeric="integer|decimal"
  89. android:textColor="@color/green"
  90. android:textSize="@dimen/bigTextValues"
  91. android:textStyle="bold" />
  92. <Button android:text="@string/button_calc"
  93. android:id="@+id/calcbutton"
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"/>
  96. </LinearLayout>
  97. </ScrollView>