Subversion Repositories ES

Rev

Rev 13 | Go to most recent revision | 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">

  <TableLayout android:id="@+id/TableLayout01"
   android:layout_height="wrap_content" android:layout_width="match_parent"
   android:stretchColumns="1,3" android:shrinkColumns="*"
   android:layout_marginTop="10sp">
    <TableRow android:layout_height="wrap_content">
      <EditText android:layout_column="1" android:id="@+id/edit_value1"
       android:inputType="numberDecimal" />
      <TextView android:layout_column="2" android:text="="
       android:gravity="center" android:textSize="25sp" />
      <EditText android:layout_column="3" android:id="@+id/edit_value2"
       android:inputType="numberDecimal" />
    </TableRow>
    <TableRow android:layout_height="wrap_content">
      <Spinner android:layout_column="1" android:id="@+id/spinner_unit1"
       android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
       android:entryValues="@array/length_units_values" />
      <TextView android:layout_column="2" android:text="" />
      <Spinner android:layout_column="3" android:id="@+id/spinner_unit2"
       android:drawSelectorOnTop="true" android:entries="@array/length_units_display"
       android:entryValues="@array/length_units_values" />
    </TableRow>
  </TableLayout>
 
  <Button android:text="@string/button_clear" android:id="@+id/lengths_button_clear"
   android:layout_height="wrap_content" android:layout_width="100sp"
   android:layout_gravity="center_horizontal" />
</LinearLayout>