android-calculatorpp/android-app/res/layout/unit_converter.xml

78 lines
2.6 KiB
XML
Raw Normal View History

2012-04-21 16:37:41 -04:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:paddingLeft="10dp"
a:paddingRight="10dp"
a:orientation="vertical">
<LinearLayout a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:paddingBottom="10dp"
a:orientation="horizontal">
<Spinner a:id="@+id/unit_types_from"
a:layout_width="wrap_content"
a:layout_height="fill_parent"/>
<EditText a:id="@+id/units_from"
a:inputType="text"
a:singleLine="true"
a:layout_width="fill_parent"
a:layout_height="fill_parent"/>
</LinearLayout>
<LinearLayout a:layout_width="fill_parent"
a:paddingBottom="10dp"
a:layout_height="fill_parent"
a:orientation="horizontal">
<Spinner a:id="@+id/unit_types_to"
a:layout_width="wrap_content"
a:layout_height="fill_parent"/>
<EditText a:id="@+id/units_to"
a:editable="false"
a:inputType="none"
a:singleLine="true"
a:layout_width="fill_parent"
a:layout_height="fill_parent"/>
</LinearLayout>
<LinearLayout a:layout_width="fill_parent"
a:paddingBottom="10dp"
a:layout_height="fill_parent"
a:gravity="center"
a:orientation="horizontal">
<Button a:id="@+id/unit_converter_ok_button"
a:text="@android:string/ok"
2012-04-24 08:48:58 -04:00
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
2012-04-21 16:37:41 -04:00
a:layout_width="wrap_content"
a:layout_height="wrap_content"/>
<Button a:id="@+id/unit_converter_copy_button"
a:text="@android:string/copy"
2012-04-24 08:48:58 -04:00
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
2012-04-21 16:37:41 -04:00
a:layout_width="wrap_content"
a:layout_height="wrap_content"/>
<Button a:id="@+id/unit_converter_custom_button"
2012-04-24 08:48:58 -04:00
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:ellipsize="end"
a:singleLine="true"
2012-04-21 16:37:41 -04:00
a:layout_width="wrap_content"
a:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>