- Added update thread with XPath-based parsing of table rates (TODO: make functional) - Renamed helper package
/trunk/res/values/strings.xml |
---|
2,7 → 2,6 |
<resources> |
<string name="app_name">Converter</string> |
<string name="title">Android Unit Converter</string> |
<string name="button_clear">Clear</string> |
<string name="activity_lengths">Lengths</string> |
13,6 → 12,10 |
<string name="currencies_currency1"><b>Currency 1</b></string> |
<string name="currencies_currency2"><b>Currency 2</b></string> |
<string name="currencies_rate"><b>Rate</b></string> |
<string name="caption_update">Update table rates</string> |
<!-- <string name="option_quit">Quit</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/layout/activity_currencies.xml |
---|
27,20 → 27,17 |
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> |
<TableLayout android:id="@+id/currencies_table_rates" |
android:layout_height="fill_parent" android:layout_width="fill_parent" |
android:scrollbars="vertical" android:stretchColumns="*"> |
<View android:layout_height="2dip" android:background="#FF909090" /> |
android:scrollbars="vertical" android:layout_height="wrap_content" |
android:layout_width="fill_parent" android:stretchColumns="*"> |
<TableRow> |
<TextView android:text="@string/currencies_currency1" /> |
<TextView android:text="@string/currencies_currency2" /> |
<TextView android:text="@string/currencies_rate" /> |
</TableRow> |
<View android:layout_height="1dip" android:background="#FF909090" /> |
</TableLayout> |
</LinearLayout> |
/trunk/res/menu/options.xml |
---|
6,8 → 6,7 |
android:title="@string/caption_update" /> |
<!-- android:icon="@drawable/ic_quit" --> |
<!-- |
<item android:id="@+id/quit" |
android:title="@string/option_quit" /> |
--> |
</menu> |