Subversion Repositories ES

Rev

Rev 17 | Show entire file | Regard 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/currencies_table_widget"
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/currencies_edit_value1"
11
      <EditText android:layout_column="1"
10
      android:layout_width="match_parent" android:layout_height="wrap_content"
12
        android:id="@+id/currencies_edit_value1" android:inputType="numberDecimal" />
11
      android:layout_weight="1" android:inputType="numberDecimal" />
13
      <TextView android:layout_column="2" android:text="="
12
    <TextView android:text="=" android:minWidth="10sp"
-
 
13
      android:layout_width="wrap_content" android:layout_height="wrap_content"
14
        android:gravity="center" android:textSize="25sp" />
14
      android:gravity="center" android:textSize="25sp" />
15
      <EditText android:layout_column="3"
15
    <EditText android:id="@+id/currencies_edit_value2"
-
 
16
      android:layout_width="match_parent" android:layout_height="wrap_content"
16
        android:id="@+id/currencies_edit_value2" android:inputType="numberDecimal" />
17
      android:layout_weight="1" android:inputType="numberDecimal" />
17
    </TableRow>
18
  </LinearLayout>
18
    <TableRow android:layout_height="wrap_content">
19
  <LinearLayout android:orientation="horizontal"
19
      <Spinner android:layout_column="1"
20
    android:layout_width="match_parent" android:layout_height="wrap_content">
20
        android:id="@+id/currencies_spinner_unit1"
21
    <Spinner android:id="@+id/currencies_spinner_unit1"
-
 
22
      android:layout_width="match_parent" android:layout_height="wrap_content"
-
 
23
      android:layout_weight="1" android:drawSelectorOnTop="true"
21
        android:drawSelectorOnTop="true" android:entries="@array/currency_units_display"
24
      android:entries="@array/currency_units_display"
22
        android:entryValues="@array/currency_units_values" />
25
      android:entryValues="@array/currency_units_values" />
23
      <TextView android:layout_column="2" android:text="" />
26
    <TextView android:text="" android:layout_width="wrap_content"
24
      <Spinner android:layout_column="3"
27
      android:layout_height="wrap_content" android:minWidth="10sp" />
25
        android:id="@+id/currencies_spinner_unit2"
28
    <Spinner android:id="@+id/currencies_spinner_unit2"
-
 
29
      android:layout_width="match_parent" android:layout_height="wrap_content"
-
 
30
      android:layout_weight="1" android:drawSelectorOnTop="true"
26
        android:drawSelectorOnTop="true" android:entries="@array/currency_units_display"
31
      android:entries="@array/currency_units_display"
27
        android:entryValues="@array/currency_units_values" />
32
      android:entryValues="@array/currency_units_values" />
28
    </TableRow>
-
 
29
  </TableLayout>
33
  </LinearLayout>
30
34
31
  <Button android:text="@string/button_clear" android:id="@+id/currencies_button_clear"
35
  <Button android:text="@string/button_clear" android:id="@+id/currencies_button_clear"
32
    android:layout_height="wrap_content" android:layout_width="100sp"
36
    android:layout_height="wrap_content" android:layout_width="100sp"
33
    android:layout_gravity="center_horizontal"></Button>
37
    android:layout_gravity="center_horizontal"></Button>
34
 
-
 
35
  <TextView android:id="@+id/currencies_text_updating"
38
  <TextView android:id="@+id/currencies_text_updating"
36
    android:text="@string/currencies_updating"
39
    android:text="@string/currencies_updating" android:layout_height="wrap_content"
37
    android:layout_height="wrap_content"
-
 
38
    android:layout_width="match_parent"
40
    android:layout_width="match_parent" android:visibility="gone" />
39
    android:visibility="gone" />
-
 
40
 
41
41
  <TableLayout android:id="@+id/currencies_table_rates"
42
  <TableLayout android:id="@+id/currencies_table_rates"
42
    android:layout_height="match_parent"
43
    android:layout_height="match_parent" android:layout_width="match_parent"
43
    android:layout_width="match_parent" android:stretchColumns="*"
44
    android:stretchColumns="*">
44
    >
-
 
45
    <View android:layout_height="2dip" android:background="#FF909090" />
45
    <View android:layout_height="2dip" android:background="#FF909090" />
46
    <TableRow>
46
    <TableRow>
47
      <TextView android:text="@string/currencies_currency" />
47
      <TextView android:text="@string/currencies_currency" />
48
      <TextView android:text="@string/currencies_rate" />
48
      <TextView android:text="@string/currencies_rate" />
49
      <TextView android:text="@string/currencies_updated" />
49
      <TextView android:text="@string/currencies_updated" />