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/temperatures_edit_value1"
|
11 | <EditText android:layout_column="1"
|
10 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
12 | android:id="@+id/temperatures_edit_value1" android:inputType="numberSigned|numberDecimal" />
|
11 | android:layout_weight="1" android:inputType="numberSigned|numberDecimal" />
|
13 | <TextView android:layout_column="2" android:text="="
|
12 | <TextView android:text="=" android:minWidth="10sp"
|
14 | android:gravity="center" android:textSize="25sp" />
|
- | |
15 | <EditText android:layout_column="3"
|
- | |
16 | android:id="@+id/temperatures_edit_value2" android:inputType="numberSigned|numberDecimal" />
|
- | |
17 | </TableRow>
|
- | |
18 | <TableRow android:layout_height="wrap_content">
|
13 | android:layout_width="wrap_content" android:layout_height="wrap_content"
|
19 | <Spinner android:layout_column="1"
|
- | |
20 | android:id="@+id/temperatures_spinner_unit1"
|
- | |
21 | android:drawSelectorOnTop="true" android:entries="@array/temperature_units_display"
|
- | |
22 | android:entryValues="@array/temperature_units_values" />
|
- | |
23 | <TextView android:layout_column="2" android:text="" />
|
14 | android:gravity="center" android:textSize="25sp" />
|
24 | <Spinner android:layout_column="3"
|
- | |
25 | android:id="@+id/temperatures_spinner_unit2"
|
15 | <EditText android:id="@+id/temperatures_edit_value2"
|
26 | android:drawSelectorOnTop="true" android:entries="@array/temperature_units_display"
|
16 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
27 | android:entryValues="@array/temperature_units_values" />
|
17 | android:layout_weight="1" android:inputType="numberSigned|numberDecimal" />
|
28 | </TableRow>
|
- | |
29 | </TableLayout>
|
18 | </LinearLayout>
|
30 | 19 | ||
- | 20 | <LinearLayout android:orientation="horizontal"
|
|
- | 21 | android:layout_width="match_parent" android:layout_height="wrap_content">
|
|
31 | <TextView android:id="@+id/temperatures_text_off_scale"
|
22 | <Spinner android:id="@+id/temperatures_spinner_unit1"
|
- | 23 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
- | 24 | android:layout_weight="1" android:drawSelectorOnTop="true"
|
|
32 | android:text="@string/temperatures_off_scale"
|
25 | android:entries="@array/temperature_units_display"
|
- | 26 | android:entryValues="@array/temperature_units_values" />
|
|
- | 27 | <TextView android:minWidth="10sp" android:layout_width="wrap_content"
|
|
33 | android:layout_width="wrap_content"
|
28 | android:layout_height="wrap_content" />
|
- | 29 | <Spinner android:id="@+id/temperatures_spinner_unit2"
|
|
- | 30 | android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
- | 31 | android:layout_weight="1" android:drawSelectorOnTop="true"
|
|
- | 32 | android:entries="@array/temperature_units_display"
|
|
- | 33 | android:entryValues="@array/temperature_units_values" />
|
|
- | 34 | </LinearLayout>
|
|
- | 35 | ||
- | 36 | <TextView android:id="@+id/temperatures_text_off_scale"
|
|
- | 37 | android:text="@string/temperatures_off_scale" android:layout_width="wrap_content"
|
|
34 | android:layout_height="wrap_content" android:visibility="invisible" />
|
38 | android:layout_height="wrap_content" android:visibility="invisible" />
|
35 | <Button android:text="@string/button_clear" android:id="@+id/temperatures_button_clear"
|
39 | <Button android:text="@string/button_clear" android:id="@+id/temperatures_button_clear"
|
36 | android:layout_height="wrap_content" android:layout_width="100sp"
|
40 | android:layout_height="wrap_content" android:layout_width="100sp"
|
37 | android:layout_gravity="center_horizontal"></Button>
|
41 | android:layout_gravity="center_horizontal" />
|
- | 42 | ||
38 | </LinearLayout>
|
43 | </LinearLayout>
|