- Currencies: + Added/updated resource strings + Disabled "Quit" (options menu button) - Added update notifications - Added exchange rates update service (project requirement) - Clean-up: + Outsourced conversion data + Layout: Replaced deprecated fill_parent with match_parent
/trunk/res/layout/activity_lengths.xml |
---|
1,10 → 1,10 |
<?xml version="1.0" encoding="utf-8"?> |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
android:orientation="vertical" android:layout_height="fill_parent" |
android:layout_width="fill_parent"> |
android:orientation="vertical" android:layout_height="match_parent" |
android:layout_width="match_parent"> |
<TableLayout android:id="@+id/TableLayout01" |
android:layout_height="wrap_content" android:layout_width="fill_parent" |
android:layout_height="wrap_content" android:layout_width="match_parent" |
android:stretchColumns="1,3" android:shrinkColumns="*" |
android:layout_marginTop="10sp"> |
<TableRow android:layout_height="wrap_content"> |
/trunk/res/layout/activity_temperatures.xml |
---|
1,10 → 1,10 |
<?xml version="1.0" encoding="utf-8"?> |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
android:orientation="vertical" android:layout_height="fill_parent" |
android:layout_width="fill_parent"> |
android:orientation="vertical" android:layout_height="match_parent" |
android:layout_width="match_parent"> |
<TableLayout android:id="@+id/TableLayout01" |
android:layout_height="wrap_content" android:layout_width="fill_parent" |
android:layout_height="wrap_content" android:layout_width="match_parent" |
android:stretchColumns="1,3" android:shrinkColumns="*" |
android:layout_marginTop="10sp"> |
<TableRow android:layout_height="wrap_content"> |
28,8 → 28,9 |
</TableRow> |
</TableLayout> |
<TextView android:text="@string/temperatures_off_scale" |
android:id="@+id/temperatures_text_off_scale" android:layout_width="wrap_content" |
<TextView android:id="@+id/temperatures_text_off_scale" |
android:text="@string/temperatures_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" |
/trunk/res/layout/activity_currencies.xml |
---|
1,10 → 1,10 |
<?xml version="1.0" encoding="utf-8"?> |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
android:orientation="vertical" android:layout_height="fill_parent" |
android:layout_width="fill_parent"> |
android:orientation="vertical" android:layout_height="match_parent" |
android:layout_width="match_parent"> |
<TableLayout android:id="@+id/currencies_table_widget" |
android:layout_height="wrap_content" android:layout_width="fill_parent" |
android:layout_height="wrap_content" android:layout_width="match_parent" |
android:stretchColumns="1,3" android:shrinkColumns="*" |
android:layout_marginTop="10sp"> |
<TableRow android:layout_height="wrap_content"> |
32,13 → 32,21 |
android:layout_height="wrap_content" android:layout_width="100sp" |
android:layout_gravity="center_horizontal"></Button> |
<TextView android:id="@+id/currencies_text_updating" |
android:text="@string/currencies_updating" |
android:layout_height="wrap_content" |
android:layout_width="match_parent" |
android:visibility="gone" /> |
<TableLayout android:id="@+id/currencies_table_rates" |
android:scrollbars="vertical" android:layout_height="wrap_content" |
android:layout_width="fill_parent" android:stretchColumns="*"> |
android:layout_height="match_parent" |
android:layout_width="match_parent" android:stretchColumns="*" |
> |
<View android:layout_height="2dip" android:background="#FF909090" /> |
<TableRow> |
<TextView android:text="@string/currencies_currency" /> |
<TextView android:text="@string/currencies_rate" /> |
<TextView android:text="@string/currencies_updated" /> |
</TableRow> |
<View android:layout_height="1dip" android:background="#FF909090" /> |
</TableLayout> |