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/edit_value1"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:inputType="numberDecimal" />
    <TextView android:text="=" android:layout_width="wrap_content"
     android:layout_height="wrap_content" android:minWidth="10sp"
     android:gravity="center" android:textSize="25sp" />
    <EditText android:id="@+id/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/spinner_unit1"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:drawSelectorOnTop="true"
     android:entries="@array/length_units_display" android:entryValues="@array/length_units_values" />
    <TextView android:text="" android:layout_width="wrap_content"
     android:layout_height="wrap_content" android:minWidth="10sp" />
    <Spinner android:id="@+id/spinner_unit2"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:drawSelectorOnTop="true"
     android:entries="@array/length_units_display" android:entryValues="@array/length_units_values" />
  </LinearLayout>

  <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>