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/temperatures_edit_value1"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:inputType="numberSigned|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/temperatures_edit_value2"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:inputType="numberSigned|numberDecimal" />
  </LinearLayout>

  <LinearLayout android:orientation="horizontal"
   android:layout_width="match_parent" android:layout_height="wrap_content">
    <Spinner android:id="@+id/temperatures_spinner_unit1"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:drawSelectorOnTop="true"
     android:entries="@array/temperature_units_display"
     android:entryValues="@array/temperature_units_values" />
    <TextView android:minWidth="10sp" android:layout_width="wrap_content"
     android:layout_height="wrap_content" />
    <Spinner android:id="@+id/temperatures_spinner_unit2"
     android:layout_width="match_parent" android:layout_height="wrap_content"
     android:layout_weight="1" android:drawSelectorOnTop="true"
     android:entries="@array/temperature_units_display"
     android:entryValues="@array/temperature_units_values" />
  </LinearLayout>

  <TextView android:id="@+id/temperatures_text_off_scale"
   android:text="@string/temperatures_off_scale" android:layout_width="wrap_content"
   android:layout_height="wrap_content" android:visibility="invisible" />
  <Button android:text="@string/button_clear" android:id="@+id/temperatures_button_clear"
   android:layout_height="wrap_content" android:layout_width="100sp"
   android:layout_gravity="center_horizontal" />

</LinearLayout>