- Switched to LinearLayout for form controls (fixes overflowing controls) - Updated version data in manifest
| /trunk/AndroidManifest.xml |
|---|
| 1,7 → 1,6 |
| <?xml version="1.0" encoding="utf-8"?> |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="de.pointedears.converter" android:versionCode="1" |
| android:versionName="1.0"> |
| package="de.pointedears.converter" android:versionName="0.9.1" android:versionCode="17"> |
| <uses-sdk android:minSdkVersion="8" /> |
| <uses-permission android:name="android.permission.VIBRATE" /> |
| /trunk/bin/Converter.apk |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| /trunk/bin/resources.ap_ |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| /trunk/bin/classes.dex |
|---|
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| /trunk/res/layout/activity_lengths.xml |
|---|
| 3,29 → 3,34 |
| 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="match_parent" |
| android:stretchColumns="1,3" android:shrinkColumns="*" |
| <LinearLayout android:orientation="horizontal" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_marginTop="10sp"> |
| <TableRow android:layout_height="wrap_content"> |
| <EditText android:layout_column="1" android:id="@+id/edit_value1" |
| 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" |
| android:inputType="numberDecimal" /> |
| </TableRow> |
| <TableRow android:layout_height="wrap_content"> |
| <Spinner android:layout_column="1" android:id="@+id/spinner_unit1" |
| android:drawSelectorOnTop="true" android:entries="@array/length_units_display" |
| android:entryValues="@array/length_units_values" /> |
| <TextView android:layout_column="2" android:text="" /> |
| <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> |
| <EditText android:id="@+id/edit_value1" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:inputType="numberDecimal" /> |
| <TextView android:text="=" android:layout_width="wrap_content" |
| android:layout_height="wrap_content" android:minWidth="10sp" |
| android:gravity="center" android:textSize="25sp" /> |
| <EditText android:id="@+id/edit_value2" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:inputType="numberDecimal" /> |
| </LinearLayout> |
| <LinearLayout android:orientation="horizontal" |
| android:layout_width="match_parent" android:layout_height="wrap_content"> |
| <Spinner android:id="@+id/spinner_unit1" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:drawSelectorOnTop="true" |
| android:entries="@array/length_units_display" android:entryValues="@array/length_units_values" /> |
| <TextView android:text="" android:layout_width="wrap_content" |
| android:layout_height="wrap_content" android:minWidth="10sp" /> |
| <Spinner android:id="@+id/spinner_unit2" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:drawSelectorOnTop="true" |
| android:entries="@array/length_units_display" android:entryValues="@array/length_units_values" /> |
| </LinearLayout> |
| <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" /> |
| /trunk/res/layout/activity_temperatures.xml |
|---|
| 3,36 → 3,41 |
| 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="match_parent" |
| android:stretchColumns="1,3" android:shrinkColumns="*" |
| <LinearLayout android:orientation="horizontal" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_marginTop="10sp"> |
| <TableRow android:layout_height="wrap_content"> |
| <EditText android:layout_column="1" |
| android:id="@+id/temperatures_edit_value1" android:inputType="numberSigned|numberDecimal" /> |
| <TextView android:layout_column="2" android:text="=" |
| android:gravity="center" android:textSize="25sp" /> |
| <EditText android:layout_column="3" |
| android:id="@+id/temperatures_edit_value2" android:inputType="numberSigned|numberDecimal" /> |
| </TableRow> |
| <TableRow android:layout_height="wrap_content"> |
| <Spinner android:layout_column="1" |
| android:id="@+id/temperatures_spinner_unit1" |
| android:drawSelectorOnTop="true" android:entries="@array/temperature_units_display" |
| android:entryValues="@array/temperature_units_values" /> |
| <TextView android:layout_column="2" android:text="" /> |
| <Spinner android:layout_column="3" |
| android:id="@+id/temperatures_spinner_unit2" |
| android:drawSelectorOnTop="true" android:entries="@array/temperature_units_display" |
| android:entryValues="@array/temperature_units_values" /> |
| </TableRow> |
| </TableLayout> |
| <EditText android:id="@+id/temperatures_edit_value1" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:inputType="numberSigned|numberDecimal" /> |
| <TextView android:text="=" android:minWidth="10sp" |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:gravity="center" android:textSize="25sp" /> |
| <EditText android:id="@+id/temperatures_edit_value2" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:inputType="numberSigned|numberDecimal" /> |
| </LinearLayout> |
| <TextView android:id="@+id/temperatures_text_off_scale" |
| android:text="@string/temperatures_off_scale" |
| android:layout_width="wrap_content" |
| <LinearLayout android:orientation="horizontal" |
| android:layout_width="match_parent" android:layout_height="wrap_content"> |
| <Spinner android:id="@+id/temperatures_spinner_unit1" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:drawSelectorOnTop="true" |
| android:entries="@array/temperature_units_display" |
| android:entryValues="@array/temperature_units_values" /> |
| <TextView android:minWidth="10sp" android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| <Spinner android:id="@+id/temperatures_spinner_unit2" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:drawSelectorOnTop="true" |
| android:entries="@array/temperature_units_display" |
| android:entryValues="@array/temperature_units_values" /> |
| </LinearLayout> |
| <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" |
| android:layout_gravity="center_horizontal"></Button> |
| <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" /> |
| </LinearLayout> |
| /trunk/res/layout/activity_currencies.xml |
|---|
| 3,45 → 3,45 |
| 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="match_parent" |
| android:stretchColumns="1,3" android:shrinkColumns="*" |
| <LinearLayout android:orientation="horizontal" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_marginTop="10sp"> |
| <TableRow android:layout_height="wrap_content"> |
| <EditText android:layout_column="1" |
| android:id="@+id/currencies_edit_value1" android:inputType="numberDecimal" /> |
| <TextView android:layout_column="2" android:text="=" |
| android:gravity="center" android:textSize="25sp" /> |
| <EditText android:layout_column="3" |
| android:id="@+id/currencies_edit_value2" android:inputType="numberDecimal" /> |
| </TableRow> |
| <TableRow android:layout_height="wrap_content"> |
| <Spinner android:layout_column="1" |
| android:id="@+id/currencies_spinner_unit1" |
| android:drawSelectorOnTop="true" android:entries="@array/currency_units_display" |
| android:entryValues="@array/currency_units_values" /> |
| <TextView android:layout_column="2" android:text="" /> |
| <Spinner android:layout_column="3" |
| android:id="@+id/currencies_spinner_unit2" |
| android:drawSelectorOnTop="true" android:entries="@array/currency_units_display" |
| android:entryValues="@array/currency_units_values" /> |
| </TableRow> |
| </TableLayout> |
| <EditText android:id="@+id/currencies_edit_value1" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:inputType="numberDecimal" /> |
| <TextView android:text="=" android:minWidth="10sp" |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:gravity="center" android:textSize="25sp" /> |
| <EditText android:id="@+id/currencies_edit_value2" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:inputType="numberDecimal" /> |
| </LinearLayout> |
| <LinearLayout android:orientation="horizontal" |
| android:layout_width="match_parent" android:layout_height="wrap_content"> |
| <Spinner android:id="@+id/currencies_spinner_unit1" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:drawSelectorOnTop="true" |
| android:entries="@array/currency_units_display" |
| android:entryValues="@array/currency_units_values" /> |
| <TextView android:text="" android:layout_width="wrap_content" |
| android:layout_height="wrap_content" android:minWidth="10sp" /> |
| <Spinner android:id="@+id/currencies_spinner_unit2" |
| android:layout_width="match_parent" android:layout_height="wrap_content" |
| android:layout_weight="1" android:drawSelectorOnTop="true" |
| android:entries="@array/currency_units_display" |
| android:entryValues="@array/currency_units_values" /> |
| </LinearLayout> |
| <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> |
| 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" /> |
| 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:layout_height="match_parent" |
| android:layout_width="match_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" /> |