Merge commit '46077ef99f953486550547c15bd60dd02bab9241' into upstream
[debian/openrocket] / android / res / layout / tcqueryform.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:orientation="vertical" >
6
7     <!-- this is just here so the edittext doesn't get focus -->
8
9     <LinearLayout
10         android:layout_width="0px"
11         android:layout_height="0px"
12         android:focusable="true"
13         android:focusableInTouchMode="true" />
14
15     <TableLayout
16         android:id="@+id/tableLayout1"
17         android:layout_width="fill_parent"
18         android:layout_height="wrap_content"
19         android:stretchColumns="1" >
20
21         <TableRow>
22
23             <TextView
24                 android:id="@+id/textView1"
25                 android:text="@string/motor_manufacturer" />
26
27             <Spinner
28                 android:id="@+id/TCMotorSearchFormManufacturerField"
29                 android:layout_width="wrap_content"
30                 android:layout_height="wrap_content"
31                 android:entries="@array/TCMotorSearchManufacturerList" />
32         </TableRow>
33
34         <TableRow>
35
36             <TextView
37                 android:text="@string/motor_impulseclass" />
38
39             <Spinner
40                 android:id="@+id/TCMotorSearchFormImpulseField"
41                 android:layout_width="wrap_content"
42                 android:layout_height="wrap_content"
43                 android:entries="@array/TCMotorSearchImpulseList" />
44         </TableRow>
45
46         <TableRow>
47
48             <TextView
49                 android:text="@string/motor_commonname" />
50
51             <EditText
52                 android:id="@+id/TCMotorSearchFormCommonNameField"
53                 android:text="" />
54         </TableRow>
55
56         <TableRow>
57
58             <TextView
59                 android:text="@string/motor_diameter" />
60
61             <Spinner
62                 android:id="@+id/TCMotorSearchFormDiameterField"
63                 android:layout_width="wrap_content"
64                 android:layout_height="wrap_content"
65                 android:entries="@array/TCMotorSearchDiameterList" />
66         </TableRow>
67     </TableLayout>
68
69     <Button
70         android:id="@+id/TCMotorSearchFromSubmitButton"
71         android:layout_width="wrap_content"
72         android:layout_height="wrap_content"
73         android:layout_gravity="center_horizontal"
74         android:text="@string/TCMotorSearchFormSubmit" />
75
76 </LinearLayout>