|
| 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="wrap_content" |
| 5 | + android:orientation="vertical"> |
| 6 | + <RelativeLayout |
| 7 | + android:layout_width="match_parent" |
| 8 | + android:layout_height="wrap_content" |
| 9 | + android:background="@color/toolBar_bg"> |
| 10 | + <TextView |
| 11 | + android:layout_width="wrap_content" |
| 12 | + android:layout_height="wrap_content" |
| 13 | + android:layout_margin="10dp" |
| 14 | + android:text="条件查询" |
| 15 | + android:textColor="#fff" |
| 16 | + android:layout_centerInParent="true"/> |
| 17 | + </RelativeLayout> |
| 18 | + <LinearLayout |
| 19 | + android:layout_width="300dp" |
| 20 | + android:layout_height="wrap_content" |
| 21 | + android:layout_margin="10dp" |
| 22 | + android:layout_gravity="center" |
| 23 | + android:orientation="horizontal"> |
| 24 | + <TextView |
| 25 | + android:layout_width="0dp" |
| 26 | + android:layout_height="wrap_content" |
| 27 | + android:layout_weight="1" |
| 28 | + android:gravity="center" |
| 29 | + android:text="number:"/> |
| 30 | + <EditText |
| 31 | + android:id="@+id/selectSingleFragment_number_tv" |
| 32 | + android:layout_width="0dp" |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:layout_weight="4" |
| 35 | + android:gravity="center" |
| 36 | + android:inputType="number" |
| 37 | + android:hint="选填(例:201600840)" |
| 38 | + android:maxLines="1"/> |
| 39 | + </LinearLayout> |
| 40 | + <LinearLayout |
| 41 | + android:layout_width="300dp" |
| 42 | + android:layout_height="wrap_content" |
| 43 | + android:layout_margin="10dp" |
| 44 | + android:layout_gravity="center" |
| 45 | + android:orientation="horizontal"> |
| 46 | + <TextView |
| 47 | + android:layout_width="0dp" |
| 48 | + android:layout_height="wrap_content" |
| 49 | + android:layout_weight="1" |
| 50 | + android:gravity="center" |
| 51 | + android:text="name:"/> |
| 52 | + <EditText |
| 53 | + android:id="@+id/selectSingleFragment_name_tv" |
| 54 | + android:layout_width="0dp" |
| 55 | + android:layout_height="wrap_content" |
| 56 | + android:layout_weight="4" |
| 57 | + android:gravity="center" |
| 58 | + android:hint="选填(例:张三)" |
| 59 | + android:maxLines="1"/> |
| 60 | + </LinearLayout> |
| 61 | + <LinearLayout |
| 62 | + android:layout_width="300dp" |
| 63 | + android:layout_height="wrap_content" |
| 64 | + android:layout_margin="10dp" |
| 65 | + android:layout_gravity="center" |
| 66 | + android:orientation="horizontal"> |
| 67 | + <TextView |
| 68 | + android:layout_width="0dp" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:layout_weight="1" |
| 71 | + android:gravity="center" |
| 72 | + android:text="age:"/> |
| 73 | + <Spinner |
| 74 | + android:id="@+id/selectSingle_spinner" |
| 75 | + android:layout_width="0dp" |
| 76 | + android:layout_height="wrap_content" |
| 77 | + android:layout_weight="2" |
| 78 | + android:layout_gravity="center" |
| 79 | + android:gravity="center"> |
| 80 | + |
| 81 | + </Spinner> |
| 82 | + <EditText |
| 83 | + android:id="@+id/selectSingleFragment_age_tv" |
| 84 | + android:layout_width="0dp" |
| 85 | + android:layout_height="wrap_content" |
| 86 | + android:layout_weight="2" |
| 87 | + android:gravity="center" |
| 88 | + android:hint="选填(例:>20)" |
| 89 | + android:inputType="number" |
| 90 | + android:maxLines="1"/> |
| 91 | + </LinearLayout> |
| 92 | + <Button |
| 93 | + android:id="@+id/selectSingle_submit_button" |
| 94 | + android:layout_width="wrap_content" |
| 95 | + android:layout_height="wrap_content" |
| 96 | + android:layout_gravity="center" |
| 97 | + android:layout_marginBottom="20dp" |
| 98 | + android:text="确定"/> |
| 99 | +</LinearLayout> |
0 commit comments