- Added Clear button to all menu Activities - Added helper package (perhaps for BackgroundThread?)
/trunk/res/values/strings.xml |
---|
9,7 → 9,9 |
<string name="temperatures_off_scale"><sup>*</sup> Theoretical value off the scale</string> |
<string name="activity_currencies">Currencies</string> |
<string name="option_update">Update</string> |
<string name="caption_update">Update</string> |
<string name="option_quit">Quit</string> |
<string name="bar">Quit</string> |
<string name="button_clear">Clear</string> |
</resources> |
/trunk/res/menu/options.xml |
---|
3,7 → 3,7 |
<!-- android:icon="@drawable/ic_new_game" --> |
<item android:id="@+id/item_options_update" |
android:title="@string/option_update" /> |
android:title="@string/caption_update" /> |
<!-- android:icon="@drawable/ic_quit" --> |
/trunk/res/layout/activity_lengths.xml |
---|
4,7 → 4,7 |
android:layout_width="fill_parent"> |
<TableLayout android:id="@+id/TableLayout01" |
android:layout_height="fill_parent" android:layout_width="fill_parent" |
android:layout_height="wrap_content" android:layout_width="fill_parent" |
android:stretchColumns="1,3" android:shrinkColumns="*" |
android:layout_marginTop="10sp"> |
<TableRow android:layout_height="wrap_content"> |
12,8 → 12,7 |
android:inputType="numberDecimal" /> |
<TextView android:layout_column="2" android:text="=" |
android:gravity="center" android:textSize="25sp" /> |
<EditText android:layout_column="3" |
android:id="@+id/edit_value2" |
<EditText android:layout_column="3" android:id="@+id/edit_value2" |
android:inputType="numberDecimal" /> |
</TableRow> |
<TableRow android:layout_height="wrap_content"> |
24,7 → 23,10 |
<Spinner android:layout_column="3" android:id="@+id/spinner_unit2" |
android:drawSelectorOnTop="true" android:entries="@array/length_units_display" |
android:entryValues="@array/length_units_values" /> |
</TableRow> |
</TableLayout> |
<Button android:text="@string/button_clear" android:id="@+id/lengths_button_clear" |
android:layout_height="wrap_content" android:layout_width="100sp" |
android:layout_gravity="center_horizontal" /> |
</LinearLayout> |
/trunk/res/layout/activity_temperatures.xml |
---|
31,4 → 31,7 |
<TextView android:text="@string/temperatures_off_scale" |
android:id="@+id/temperatures_text_off_scale" android:layout_width="wrap_content" |
android:layout_height="wrap_content" android:visibility="invisible" /> |
<Button android:text="@string/button_clear" android:id="@+id/temperatures_button_clear" |
android:layout_height="wrap_content" android:layout_width="100sp" |
android:layout_gravity="center_horizontal"></Button> |
</LinearLayout> |
/trunk/res/layout/activity_currencies.xml |
---|
27,4 → 27,7 |
android:entryValues="@array/currency_units_values" /> |
</TableRow> |
</TableLayout> |
<Button android:text="@string/button_clear" android:id="@+id/currencies_button_clear" |
android:layout_height="wrap_content" android:layout_width="100sp" |
android:layout_gravity="center_horizontal"></Button> |
</LinearLayout> |