|
10 | 10 |
|
11 | 11 | <TextView |
12 | 12 | android:id="@+id/scan_time_title" |
| 13 | + style="@style/ItemTitle" |
13 | 14 | android:layout_width="wrap_content" |
14 | | - android:layout_height="wrap_content" |
15 | | - android:layout_marginTop="10dp" |
| 15 | + android:layout_marginTop="15dp" |
16 | 16 | android:text="搜索设备搜索时长:" |
17 | | - android:textColor="#666666" |
18 | 17 | android:textSize="@dimen/text_size" |
19 | 18 | app:layout_constraintStart_toStartOf="parent" |
20 | 19 | app:layout_constraintTop_toTopOf="parent" |
|
24 | 23 | android:id="@+id/scan_time_spinner" |
25 | 24 | android:layout_width="wrap_content" |
26 | 25 | android:layout_height="wrap_content" |
27 | | - android:spinnerMode="dropdown" |
28 | 26 | android:entries="@array/scanner_time" |
| 27 | + android:spinnerMode="dropdown" |
29 | 28 | app:layout_constraintBottom_toBottomOf="@id/scan_time_title" |
30 | 29 | app:layout_constraintEnd_toEndOf="parent" |
31 | 30 | app:layout_constraintTop_toTopOf="@id/scan_time_title" /> |
|
34 | 33 | android:id="@+id/line1" |
35 | 34 | android:layout_width="match_parent" |
36 | 35 | android:layout_height="0.3dp" |
37 | | - android:layout_marginTop="15dp" |
| 36 | + android:layout_marginTop="20dp" |
38 | 37 | android:background="#cccccc" |
39 | 38 | app:layout_constraintEnd_toEndOf="parent" |
40 | 39 | app:layout_constraintStart_toStartOf="parent" |
|
44 | 43 | <TextView |
45 | 44 | android:id="@+id/filter_empty_title" |
46 | 45 | android:layout_width="wrap_content" |
47 | | - android:layout_height="wrap_content" |
48 | 46 | android:layout_centerVertical="true" |
49 | | - android:layout_marginTop="15dp" |
| 47 | + android:layout_marginTop="20dp" |
50 | 48 | android:text="过滤无名称设备" |
| 49 | + style="@style/ItemTitle" |
51 | 50 | android:textSize="@dimen/text_size" |
52 | 51 | app:layout_constraintStart_toStartOf="parent" |
53 | 52 | app:layout_constraintTop_toBottomOf="@id/line1" |
|
66 | 65 | android:id="@+id/line2" |
67 | 66 | android:layout_width="match_parent" |
68 | 67 | android:layout_height="0.3dp" |
69 | | - android:layout_marginTop="15dp" |
| 68 | + android:layout_marginTop="20dp" |
70 | 69 | android:background="#cccccc" |
71 | 70 | app:layout_constraintTop_toBottomOf="@id/filter_no_name" /> |
72 | 71 |
|
|
76 | 75 | android:layout_width="wrap_content" |
77 | 76 | android:layout_height="wrap_content" |
78 | 77 | android:layout_centerVertical="true" |
79 | | - android:layout_marginTop="15dp" |
| 78 | + android:layout_marginTop="20dp" |
80 | 79 | android:text="允许连接多个设备" |
81 | 80 | android:textSize="@dimen/text_size" |
82 | 81 | app:layout_constraintStart_toStartOf="parent" |
|
92 | 91 | app:layout_constraintEnd_toEndOf="parent" |
93 | 92 | app:layout_constraintTop_toTopOf="@id/link_more_title" /> |
94 | 93 |
|
| 94 | + <androidx.constraintlayout.widget.Group |
| 95 | + android:id="@+id/max_link_switch_group" |
| 96 | + android:layout_width="wrap_content" |
| 97 | + android:layout_height="wrap_content" |
| 98 | + android:visibility="gone" |
| 99 | + app:constraint_referenced_ids="line2,link_more_title,switchBtn" /> |
95 | 100 |
|
96 | 101 | <View |
97 | 102 | android:id="@+id/line3" |
98 | 103 | android:layout_width="match_parent" |
99 | 104 | android:layout_height="0.3dp" |
100 | | - android:layout_marginTop="15dp" |
| 105 | + android:layout_marginTop="20dp" |
101 | 106 | android:background="#cccccc" |
102 | 107 | app:layout_constraintTop_toBottomOf="@id/link_more_title" /> |
103 | 108 |
|
|
107 | 112 | android:layout_width="wrap_content" |
108 | 113 | android:layout_height="wrap_content" |
109 | 114 | android:layout_centerVertical="true" |
110 | | - android:layout_marginTop="15dp" |
| 115 | + android:layout_marginTop="20dp" |
111 | 116 | android:text="最大连接设备个数:" |
112 | 117 | android:textSize="@dimen/text_size" |
113 | 118 | app:layout_constraintStart_toStartOf="parent" |
|
117 | 122 | <androidx.appcompat.widget.AppCompatSpinner |
118 | 123 | android:id="@+id/maxNumber" |
119 | 124 | android:layout_width="wrap_content" |
120 | | - android:entries="@array/max_connect_size" |
121 | 125 | android:layout_height="wrap_content" |
| 126 | + android:entries="@array/max_connect_size" |
122 | 127 | app:layout_constraintBottom_toBottomOf="@id/max_link_title" |
123 | 128 | app:layout_constraintEnd_toEndOf="parent" |
124 | 129 | app:layout_constraintTop_toTopOf="@id/max_link_title" /> |
|
0 commit comments