Rev 17 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 17 | Rev 19 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | <?xml version="1.0" encoding="utf-8"?>
|
1 | <?xml version="1.0" encoding="utf-8"?>
|
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 3 | android:orientation="vertical" android:layout_height="match_parent"
|
3 | android:orientation="vertical" android:layout_height="match_parent"
|
| 4 | android:layout_width="match_parent">
|
4 | android:layout_width="match_parent">
|
| 5 | 5 | ||
| 6 | <TableLayout android:id="@+id/TableLayout01"
|
6 | <LinearLayout android:orientation="horizontal"
|
| 7 | android:layout_height="wrap_content" android:layout_width="match_parent"
|
7 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
| 8 | android:stretchColumns="1,3" android:shrinkColumns="*"
|
- | |
| 9 | android:layout_marginTop="10sp">
|
8 | android:layout_marginTop="10sp">
|
| 10 | <TableRow android:layout_height="wrap_content">
|
9 | <EditText android:id="@+id/edit_value1"
|
| 11 | <EditText android:layout_column="1" android:id="@+id/edit_value1"
|
10 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
| 12 | android:inputType="numberDecimal" />
|
11 | android:layout_weight="1" android:inputType="numberDecimal" />
|
| 13 | <TextView android:layout_column="2" android:text="="
|
12 | <TextView android:text="=" android:layout_width="wrap_content"
|
| - | 13 | android:layout_height="wrap_content" android:minWidth="10sp"
|
|
| 14 | android:gravity="center" android:textSize="25sp" />
|
14 | android:gravity="center" android:textSize="25sp" />
|
| 15 | <EditText android:layout_column="3" android:id="@+id/edit_value2"
|
15 | <EditText android:id="@+id/edit_value2"
|
| - | 16 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
| 16 | android:inputType="numberDecimal" />
|
17 | android:layout_weight="1" android:inputType="numberDecimal" />
|
| 17 | </TableRow>
|
18 | </LinearLayout>
|
| - | 19 | ||
| - | 20 | <LinearLayout android:orientation="horizontal"
|
|
| 18 | <TableRow android:layout_height="wrap_content">
|
21 | android:layout_width="match_parent" android:layout_height="wrap_content">
|
| 19 | <Spinner android:layout_column="1" android:id="@+id/spinner_unit1"
|
22 | <Spinner android:id="@+id/spinner_unit1"
|
| - | 23 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
| 20 | android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
|
24 | android:layout_weight="1" android:drawSelectorOnTop="true"
|
| 21 | android:entryValues="@array/length_units_values" />
|
25 | android:entries="@array/length_units_display" android:entryValues="@array/length_units_values" />
|
| - | 26 | <TextView android:text="" android:layout_width="wrap_content"
|
|
| 22 | <TextView android:layout_column="2" android:text="" />
|
27 | android:layout_height="wrap_content" android:minWidth="10sp" />
|
| 23 | <Spinner android:layout_column="3" android:id="@+id/spinner_unit2"
|
28 | <Spinner android:id="@+id/spinner_unit2"
|
| - | 29 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
| 24 | android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
|
30 | android:layout_weight="1" android:drawSelectorOnTop="true"
|
| 25 | android:entryValues="@array/length_units_values" />
|
31 | android:entries="@array/length_units_display" android:entryValues="@array/length_units_values" />
|
| 26 | </TableRow>
|
- | |
| 27 | </TableLayout>
|
32 | </LinearLayout>
|
| 28 | 33 | ||
| 29 | <Button android:text="@string/button_clear" android:id="@+id/lengths_button_clear"
|
34 | <Button android:text="@string/button_clear" android:id="@+id/lengths_button_clear"
|
| 30 | android:layout_height="wrap_content" android:layout_width="100sp"
|
35 | android:layout_height="wrap_content" android:layout_width="100sp"
|
| 31 | android:layout_gravity="center_horizontal" />
|
36 | android:layout_gravity="center_horizontal" />
|
| 32 | </LinearLayout>
|
37 | </LinearLayout>
|