Rev 6 | Rev 17 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6 | Rev 13 | ||
---|---|---|---|
Line 2... | Line 2... | ||
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="fill_parent"
|
3 | android:orientation="vertical" android:layout_height="fill_parent"
|
4 | android:layout_width="fill_parent">
|
4 | android:layout_width="fill_parent">
|
5 | 5 | ||
6 | <TableLayout android:id="@+id/TableLayout01"
|
6 | <TableLayout android:id="@+id/TableLayout01"
|
7 | android:layout_height="fill_parent" android:layout_width="fill_parent"
|
7 | android:layout_height="wrap_content" android:layout_width="fill_parent"
|
8 | android:stretchColumns="1,3" android:shrinkColumns="*"
|
8 | android:stretchColumns="1,3" android:shrinkColumns="*"
|
9 | android:layout_marginTop="10sp">
|
9 | android:layout_marginTop="10sp">
|
10 | <TableRow android:layout_height="wrap_content">
|
10 | <TableRow android:layout_height="wrap_content">
|
11 | <EditText android:layout_column="1" android:id="@+id/edit_value1"
|
11 | <EditText android:layout_column="1" android:id="@+id/edit_value1"
|
12 | android:inputType="numberDecimal" />
|
12 | android:inputType="numberDecimal" />
|
13 | <TextView android:layout_column="2" android:text="="
|
13 | <TextView android:layout_column="2" android:text="="
|
14 | android:gravity="center" android:textSize="25sp" />
|
14 | android:gravity="center" android:textSize="25sp" />
|
15 | <EditText android:layout_column="3"
|
15 | <EditText android:layout_column="3" android:id="@+id/edit_value2"
|
16 | android:id="@+id/edit_value2"
|
- | |
17 | android:inputType="numberDecimal" />
|
16 | android:inputType="numberDecimal" />
|
18 | </TableRow>
|
17 | </TableRow>
|
19 | <TableRow android:layout_height="wrap_content">
|
18 | <TableRow android:layout_height="wrap_content">
|
20 | <Spinner android:layout_column="1" android:id="@+id/spinner_unit1"
|
19 | <Spinner android:layout_column="1" android:id="@+id/spinner_unit1"
|
21 | android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
|
20 | android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
|
22 | android:entryValues="@array/length_units_values" />
|
21 | android:entryValues="@array/length_units_values" />
|
23 | <TextView android:layout_column="2" android:text="" />
|
22 | <TextView android:layout_column="2" android:text="" />
|
24 | <Spinner android:layout_column="3" android:id="@+id/spinner_unit2"
|
23 | <Spinner android:layout_column="3" android:id="@+id/spinner_unit2"
|
25 | android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
|
24 | android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
|
26 | android:entryValues="@array/length_units_values" />
|
25 | android:entryValues="@array/length_units_values" />
|
27 | - | ||
28 | </TableRow>
|
26 | </TableRow>
|
29 | </TableLayout>
|
27 | </TableLayout>
|
- | 28 | ||
- | 29 | <Button android:text="@string/button_clear" android:id="@+id/lengths_button_clear"
|
|
- | 30 | android:layout_height="wrap_content" android:layout_width="100sp"
|
|
- | 31 | android:layout_gravity="center_horizontal" />
|
|
30 | </LinearLayout>
|
32 | </LinearLayout>
|