Conversion tool
This commit is contained in:
74
calculatorpp/res/layout/unit_converter.xml
Normal file
74
calculatorpp/res/layout/unit_converter.xml
Normal file
@@ -0,0 +1,74 @@
|
||||
<?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"
|
||||
a:paddingLeft="30dp"
|
||||
a:paddingRight="30dp"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"/>
|
||||
|
||||
<Button a:id="@+id/unit_converter_copy_button"
|
||||
a:text="@android:string/copy"
|
||||
a:paddingLeft="30dp"
|
||||
a:paddingRight="30dp"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"/>
|
||||
|
||||
<Button a:id="@+id/unit_converter_custom_button"
|
||||
a:paddingLeft="30dp"
|
||||
a:paddingRight="30dp"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user