openrocket/android/res/layout/tcqueryform.xml

86 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<!-- this is just here so the edittext doesn't get focus -->
<LinearLayout
android:layout_width="0px"
android:layout_height="0px"
android:focusable="true"
android:focusableInTouchMode="true" />
<TableLayout
android:id="@+id/tableLayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TableRow>
<TextView
android:id="@+id/textView1"
android:text="@string/motor_manufacturer"
android:layout_weight="0" />
<Spinner
android:id="@+id/TCMotorSearchFormManufacturerField"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:entries="@array/TCMotorSearchManufacturerList" />
</TableRow>
<TableRow>
<TextView
android:text="@string/motor_impulseclass"
android:layout_weight="0"/>
<Spinner
android:id="@+id/TCMotorSearchFormImpulseField"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:entries="@array/TCMotorSearchImpulseList" />
</TableRow>
<TableRow>
<TextView
android:text="@string/motor_commonname"
android:layout_weight="0"/>
<EditText
android:inputType="text"
android:id="@+id/TCMotorSearchFormCommonNameField"
android:layout_width="0dp"
android:layout_weight="1"
android:text="" />
</TableRow>
<TableRow>
<TextView
android:text="@string/motor_diameter"
android:layout_weight="0"/>
<Spinner
android:id="@+id/TCMotorSearchFormDiameterField"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:entries="@array/TCMotorSearchDiameterList" />
</TableRow>
</TableLayout>
<Button
android:id="@+id/TCMotorSearchFromSubmitButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/TCMotorSearchFormSubmit" />
</LinearLayout>