19
19
20
20
<androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
21
21
xmlns : app =" http://schemas.android.com/apk/res-auto"
22
- xmlns : tools =" http://schemas.android.com/tools"
23
22
android : layout_width =" match_parent"
24
23
android : layout_height =" match_parent"
25
- android : id =" @+id/relativeLayout " >
24
+ android : id =" @+id/details_layout " >
26
25
27
26
<TextView
28
27
android : id =" @+id/details_name"
56
55
android : layout_marginEnd =" 256dp"
57
56
android : layout_marginBottom =" 16dp"
58
57
android : contentDescription =" @string/image_of_printer"
59
- app : layout_constraintBottom_toTopOf = " @+id/datails_h_layout "
58
+ app : layout_constraintBottom_toBottomOf = " parent "
60
59
app : layout_constraintEnd_toEndOf =" parent"
61
60
app : layout_constraintStart_toStartOf =" parent"
62
61
app : layout_constraintTop_toBottomOf =" @id/details_ip"
71
70
android : layout_marginTop =" 16dp"
72
71
android : layout_marginEnd =" 256dp"
73
72
android : layout_marginBottom =" 16dp"
74
- app : layout_constraintBottom_toTopOf = " @+id/datails_h_layout "
73
+ app : layout_constraintBottom_toBottomOf = " parent "
75
74
app : layout_constraintEnd_toEndOf =" parent"
76
75
app : layout_constraintStart_toStartOf =" parent"
77
76
app : layout_constraintTop_toBottomOf =" @id/details_ip" >
87
86
android : id =" @+id/details_status"
88
87
android : layout_width =" 0dp"
89
88
android : layout_height =" wrap_content"
89
+ android : layout_marginEnd =" 8dp"
90
90
android : text =" @string/details_status_unknown"
91
91
android : textAlignment =" center"
92
92
android : textAppearance =" @style/TextAppearance.AppCompat.Body2"
93
93
app : layout_constraintBottom_toTopOf =" @id/details_filename"
94
- app : layout_constraintEnd_toEndOf = " parent "
94
+ app : layout_constraintEnd_toStartOf = " @+id/linearLayout3 "
95
95
app : layout_constraintStart_toEndOf =" @+id/details_status_image" />
96
96
97
97
<TextView
98
98
android : id =" @+id/details_filename"
99
99
android : layout_width =" 0dp"
100
100
android : layout_height =" wrap_content"
101
+ android : layout_marginEnd =" 8dp"
101
102
android : layout_marginBottom =" 16dp"
102
103
android : maxLines =" 1"
103
104
android : minLines =" 1"
104
105
android : text =" @string/details_file_unknown"
105
106
android : textAlignment =" center"
106
- app : layout_constraintBottom_toTopOf =" @id/datails_h_layout "
107
- app : layout_constraintEnd_toEndOf = " parent "
107
+ app : layout_constraintBottom_toTopOf =" @+ id/linearLayout4 "
108
+ app : layout_constraintEnd_toStartOf = " @+id/linearLayout3 "
108
109
app : layout_constraintStart_toEndOf =" @+id/details_status_image" />
109
110
110
111
<LinearLayout
111
112
android : id =" @+id/linearLayout3"
112
113
android : layout_width =" wrap_content"
113
114
android : layout_height =" wrap_content"
115
+ android : layout_marginEnd =" 8dp"
114
116
android : orientation =" vertical"
115
- app : layout_constraintBottom_toTopOf = " @+id/details_status "
117
+ app : layout_constraintBottom_toBottomOf = " parent "
116
118
app : layout_constraintEnd_toEndOf =" parent"
117
- app : layout_constraintStart_toEndOf =" @+id/details_status_image"
118
119
app : layout_constraintTop_toBottomOf =" @+id/details_name" >
119
120
120
121
<ImageButton
138
139
</LinearLayout >
139
140
140
141
<LinearLayout
141
- android : id =" @+id/datails_h_layout "
142
- android : layout_width =" match_parent "
142
+ android : id =" @+id/linearLayout4 "
143
+ android : layout_width =" 0dp "
143
144
android : layout_height =" wrap_content"
144
- android : layout_marginBottom =" 24dp"
145
+ android : layout_marginEnd =" 8dp"
146
+ android : layout_marginBottom =" 16dp"
145
147
android : orientation =" horizontal"
146
148
app : layout_constraintBottom_toBottomOf =" parent"
147
- app : layout_constraintStart_toStartOf =" parent" >
148
-
149
- <TextView
150
- android : id =" @+id/progressText"
151
- android : layout_width =" wrap_content"
152
- android : layout_height =" wrap_content"
153
- android : layout_weight =" 1"
154
- android : maxWidth =" 60dp"
155
- android : maxLines =" 1"
156
- android : minWidth =" 60dp"
157
- android : minLines =" 1"
158
- android : text =" @string/progress"
159
- android : textAlignment =" viewEnd" />
160
-
161
- <TextView
162
- android : id =" @+id/details_progress"
163
- android : layout_width =" wrap_content"
164
- android : layout_height =" wrap_content"
165
- android : layout_weight =" 1"
166
- android : maxWidth =" 30dp"
167
- android : maxLines =" 1"
168
- android : minWidth =" 30dp"
169
- android : minLines =" 1"
170
- android : text =" @string/details_progress_default"
171
- android : textAlignment =" viewStart" />
172
-
173
- <Space
174
- android : layout_width =" wrap_content"
175
- android : layout_height =" wrap_content"
176
- android : layout_weight =" 1" />
149
+ app : layout_constraintEnd_toStartOf =" @+id/linearLayout3"
150
+ app : layout_constraintStart_toEndOf =" @+id/details_status_image" >
177
151
178
152
<TextView
179
153
android : id =" @+id/zText"
180
- android : layout_width =" wrap_content "
154
+ android : layout_width =" match_parent "
181
155
android : layout_height =" wrap_content"
182
156
android : layout_weight =" 1"
183
157
android : maxWidth =" 30dp"
189
163
190
164
<TextView
191
165
android : id =" @+id/details_z"
192
- android : layout_width =" wrap_content "
166
+ android : layout_width =" match_parent "
193
167
android : layout_height =" wrap_content"
194
168
android : layout_weight =" 1"
195
169
android : maxWidth =" 30dp"
199
173
android : text =" @string/details_z_default"
200
174
android : textAlignment =" viewStart" />
201
175
202
- <Space
203
- android : layout_width =" wrap_content"
204
- android : layout_height =" wrap_content"
205
- android : layout_weight =" 1" />
206
-
207
176
<TextView
208
177
android : id =" @+id/timeText"
209
- android : layout_width =" wrap_content "
178
+ android : layout_width =" match_parent "
210
179
android : layout_height =" wrap_content"
211
180
android : layout_weight =" 1"
212
181
android : maxWidth =" 30dp"
218
187
219
188
<TextView
220
189
android : id =" @+id/details_time"
221
- android : layout_width =" wrap_content "
190
+ android : layout_width =" match_parent "
222
191
android : layout_height =" wrap_content"
223
192
android : layout_weight =" 1"
224
193
android : maxWidth =" 60dp"
229
198
android : textAlignment =" viewStart" />
230
199
</LinearLayout >
231
200
201
+ <TextView
202
+ android : id =" @+id/details_progress"
203
+ android : layout_width =" wrap_content"
204
+ android : layout_height =" wrap_content"
205
+ android : layout_weight =" 1"
206
+ android : maxWidth =" 30dp"
207
+ android : maxLines =" 1"
208
+ android : minWidth =" 30dp"
209
+ android : minLines =" 1"
210
+ android : text =" @string/details_progress_default"
211
+ android : textAlignment =" viewStart"
212
+ app : layout_constraintBottom_toBottomOf =" @+id/details_status_image"
213
+ app : layout_constraintStart_toStartOf =" @+id/details_status_image" />
214
+
232
215
</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments