Subversion Repositories ES

Rev

Rev 17 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

1
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 android:orientation="vertical" android:layout_height="match_parent"
 android:layout_width="match_parent">

  <LinearLayout android:orientation="horizontal"
   android:layout_width="match_parent" android:layout_height="wrap_content"
   android:layout_marginTop="10sp">
    <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>
  <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" />

  <TableLayout android:id="@+id/currencies_table_rates"
   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" />
      <TextView android:text="@string/currencies_rate" />
      <TextView android:text="@string/currencies_updated" />
    </TableRow>
    <View android:layout_height="1dip" android:background="#FF909090" />
  </TableLayout>
</LinearLayout>