235
+                android:layout_height="1px"
236
+                android:background="@color/text_hint_grey_color"/>
237
+
238
+            <LinearLayout
239
+                android:layout_width="match_parent"
240
+                android:layout_height="44dp"
220 241
                 android:paddingLeft="10dp"
221
-                android:textColor="@color/_7B8088"
222
-                android:textSize="14sp"
223
-                />
224
-        </LinearLayout>
225
-
226
-    </LinearLayout>
227
-
228
-    <View
229
-        android:layout_width="match_parent"
230
-        android:layout_height="1px"
231
-        android:background="@color/text_hint_grey_color"/>
232
-
233
-    <LinearLayout
234
-        android:layout_width="match_parent"
235
-        android:layout_height="44dp"
236
-        android:paddingLeft="10dp"
237
-        android:paddingRight="6dp"
238
-        android:background="@color/background_white"
239
-        android:orientation="horizontal">
240
-
241
-    <TextSwitcher
242
-        android:id="@+id/switcher_system_msg"
243
-        android:layout_width="0dp"
244
-        android:inAnimation="@android:anim/slide_in_left"
245
-        android:outAnimation="@android:anim/slide_out_right"
246
-        android:layout_height="wrap_content"
247
-        android:layout_gravity="center_vertical"
248
-        android:layout_weight="1"/>
249
-
250
-    <ImageView
251
-        android:layout_width="10dp"
252
-        android:layout_height="18dp"
253
-        android:layout_gravity="center_vertical"
254
-        android:src="@drawable/arrow_right"/>
255
-
256
-</LinearLayout>
257
-
258
-    <View
259
-        android:layout_width="match_parent"
260
-        android:layout_height="1px"
261
-        android:background="@color/text_hint_grey_color"/>
262
-
263
-    <LinearLayout
264
-        android:layout_width="match_parent"
265
-        android:layout_height="44dp"
266
-        android:paddingLeft="10dp"
267
-        android:paddingRight="6dp"
268
-        android:background="@color/background_white"
269
-        android:orientation="horizontal">
270
-
271
-        <TextSwitcher
272
-            android:id="@+id/switcher_order_msg"
273
-            android:layout_width="0dp"
274
-            android:layout_height="wrap_content"
275
-            android:inAnimation="@android:anim/slide_in_left"
276
-            android:outAnimation="@android:anim/slide_out_right"
277
-            android:layout_gravity="center_vertical"
278
-            android:layout_weight="1"/>
279
-
280
-        <ImageView
281
-            android:layout_width="10dp"
282
-            android:layout_height="18dp"
283
-            android:layout_gravity="center_vertical"
284
-            android:src="@drawable/arrow_right"/>
242
+                android:paddingRight="6dp"
243
+                android:background="@color/background_white"
244
+                android:orientation="horizontal">
245
+
246
+                <TextSwitcher
247
+                    android:id="@+id/switcher_system_msg"
248
+                    android:layout_width="0dp"
249
+                    android:inAnimation="@android:anim/slide_in_left"
250
+                    android:outAnimation="@android:anim/slide_out_right"
251
+                    android:layout_height="wrap_content"
252
+                    android:layout_gravity="center_vertical"
253
+                    android:layout_weight="1"/>
254
+
255
+                <ImageView
256
+                    android:layout_width="10dp"
257
+                    android:layout_height="18dp"
258
+                    android:layout_gravity="center_vertical"
259
+                    android:src="@drawable/arrow_right"/>
260
+
261
+            </LinearLayout>
262
+
263
+            <View
264
+                android:layout_width="match_parent"
265
+                android:layout_height="1px"
266
+                android:background="@color/text_hint_grey_color"/>
267
+
268
+            <LinearLayout
269
+                android:layout_width="match_parent"
270
+                android:layout_height="44dp"
271
+                android:paddingLeft="10dp"
272
+                android:paddingRight="6dp"
273
+                android:background="@color/background_white"
274
+                android:orientation="horizontal">
275
+
276
+                <TextSwitcher
277
+                    android:id="@+id/switcher_order_msg"
278
+                    android:layout_width="0dp"
279
+                    android:layout_height="wrap_content"
280
+                    android:inAnimation="@android:anim/slide_in_left"
281
+                    android:outAnimation="@android:anim/slide_out_right"
282
+                    android:layout_gravity="center_vertical"
283
+                    android:layout_weight="1"/>
284
+
285
+                <ImageView
286
+                    android:layout_width="10dp"
287
+                    android:layout_height="18dp"
288
+                    android:layout_gravity="center_vertical"
289
+                    android:src="@drawable/arrow_right"/>
290
+
291
+            </LinearLayout>
292
+
293
+            <LinearLayout
294
+                android:id="@+id/layout_box_part"
295
+                android:layout_marginTop="8dp"
296
+                android:layout_width="match_parent"
297
+                android:layout_height="wrap_content"
298
+                android:background="@color/background_white"
299
+                android:orientation="vertical">
300
+
301
+                <LinearLayout
302
+                    android:layout_width="match_parent"
303
+                    android:layout_height="32dp"
304
+                    android:orientation="horizontal">
305
+
306
+                    <TextView
307
+                        android:layout_width="wrap_content"
308
+                        android:layout_height="wrap_content"
309
+                        android:layout_gravity="center_vertical"
310
+                        android:text="@string/box_setting"
311
+                        android:paddingLeft="10dp"
312
+                        android:textColor="@color/_7B8088"
313
+                        android:textSize="14sp"
314
+                        />
315
+                </LinearLayout>
316
+
317
+                <View
318
+                    android:layout_width="match_parent"
319
+                    android:layout_height="1px"
320
+                    android:background="@color/text_hint_grey_color"/>
321
+
322
+                <LinearLayout
323
+                    android:layout_width="match_parent"
324
+                    android:layout_height="44dp"
325
+                    android:orientation="horizontal">
326
+
327
+                    <TextView
328
+                        android:layout_width="wrap_content"
329
+                        android:layout_height="wrap_content"
330
+                        android:layout_gravity="center_vertical"
331
+                        android:text="@string/box_no"
332
+                        android:paddingLeft="10dp"
333
+                        android:textColor="@color/dark_grey"
334
+                        android:textSize="16sp"
335
+                        />
336
+
337
+                    <TextView
338
+                        android:id="@+id/tv_box_num"
339
+                        android:layout_width="0dp"
340
+                        android:layout_weight="1"
341
+                        android:layout_height="match_parent"
342
+                        android:gravity="center_vertical|right"
343
+                        android:text="SN89757"
344
+                        android:paddingRight="10dp"
345
+                        android:textColor="@color/grey"
346
+                        android:textSize="14sp"
347
+                        />
348
+                </LinearLayout>
349
+
350
+                <View
351
+                    android:layout_width="match_parent"
352
+                    android:layout_height="1px"
353
+                    android:background="@color/text_hint_grey_color"/>
354
+
355
+                <LinearLayout
356
+                    android:layout_width="match_parent"
357
+                    android:layout_height="44dp"
358
+                    android:orientation="horizontal">
359
+
360
+                    <TextView
361
+                        android:layout_width="wrap_content"
362
+                        android:layout_height="wrap_content"
363
+                        android:layout_gravity="center_vertical"
364
+                        android:text="@string/box_status"
365
+                        android:paddingLeft="10dp"
366
+                        android:textColor="@color/dark_grey"
367
+                        android:textSize="16sp"
368
+                        />
369
+
370
+                    <TextView
371
+                        android:id="@+id/tv_box_status"
372
+                        android:layout_width="0dp"
373
+                        android:layout_weight="1"
374
+                        android:layout_height="match_parent"
375
+                        android:gravity="center_vertical|right"
376
+                        android:text="@string/connected_device"
377
+                        android:paddingRight="10dp"
378
+                        android:textColor="@color/grey"
379
+                        android:textSize="14sp"
380
+                        />
381
+                </LinearLayout>
382
+
383
+            </LinearLayout>
384
+
385
+            <LinearLayout
386
+                android:id="@+id/layout_price_part"
387
+                android:layout_marginTop="8dp"
388
+                android:layout_width="match_parent"
389
+                android:layout_height="wrap_content"
390
+                android:background="@color/background_white"
391
+                android:orientation="vertical">
392
+
393
+                <LinearLayout
394
+                    android:layout_width="match_parent"
395
+                    android:layout_height="44dp"
396
+                    android:paddingRight="6dp"
397
+                    android:orientation="horizontal">
398
+
399
+                    <TextView
400
+                        android:layout_width="0dp"
401
+                        android:layout_height="wrap_content"
402
+                        android:layout_gravity="center_vertical"
403
+                        android:text="@string/price_manage"
404
+                        android:paddingLeft="10dp"
405
+                        android:textColor="@color/dark_grey"
406
+                        android:textSize="16sp"
407
+                        android:layout_weight="1"/>
408
+
409
+                    <ImageView
410
+                        android:layout_width="10dp"
411
+                        android:layout_height="18dp"
412
+                        android:layout_gravity="center_vertical"
413
+                        android:src="@drawable/arrow_right"/>
414
+
415
+                </LinearLayout>
416
+
417
+                <View
418
+                    android:layout_width="match_parent"
419
+                    android:layout_height="1px"
420
+                    android:background="@color/text_hint_grey_color"/>
421
+
422
+                <LinearLayout
423
+                    android:layout_width="match_parent"
424
+                    android:layout_height="44dp"
425
+                    android:paddingRight="6dp"
426
+                    android:orientation="horizontal">
427
+
428
+                    <TextView
429
+                        android:layout_width="0dp"
430
+                        android:layout_height="wrap_content"
431
+                        android:layout_gravity="center_vertical"
432
+                        android:text="@string/platform_price_rule"
433
+                        android:paddingLeft="10dp"
434
+                        android:textColor="@color/dark_grey"
435
+                        android:textSize="16sp"
436
+                        android:layout_weight="1"/>
437
+
438
+                    <ImageView
439
+                        android:layout_width="10dp"
440
+                        android:layout_height="18dp"
441
+                        android:layout_gravity="center_vertical"
442
+                        android:src="@drawable/arrow_right"/>
443
+
444
+                </LinearLayout>
445
+
446
+            </LinearLayout>
285 447
 
286
-    </LinearLayout>
448
+        </LinearLayout>
449
+    </ScrollView>
287 450
 
288
-</LinearLayout>
289 451
 
290 452
 </RelativeLayout>

+ 10 - 4
app/src/main/res/values/strings.xml

@@ -49,8 +49,6 @@
49 49
 
50 50
     <string name="today_capture_hour">今日拍摄</string>
51 51
 
52
-    <string name="photo_upload_count">累计上传</string>
53
-
54 52
     <string name="week_point">周积分(元)</string>
55 53
 
56 54
     <string name="message">消息</string>
@@ -71,8 +69,6 @@
71 69
 
72 70
     <string name="query_processing">正在查询打印机状态</string>
73 71
 
74
-    <string name="print_test">打印测试页</string>
75
-
76 72
     <string name="bluetooth_status">蓝牙状态</string>
77 73
 
78 74
     <string name="bt_is_enabled">蓝牙已打开</string>
@@ -112,4 +108,14 @@
112 108
     <string name="printer_service_boot_fail">打印机服务连接失败,请退出应用重试</string>
113 109
 
114 110
     <string name="not_set_printer_yet">尚未设置打印机,去设置</string>
111
+
112
+    <string name="box_setting">盒子设置</string>
113
+
114
+    <string name="box_no">盒子编号</string>
115
+
116
+    <string name="box_status">盒子状态</string>
117
+
118
+    <string name="price_manage">价格管理</string>
119
+
120
+    <string name="platform_price_rule">分成及结算规则</string>
115 121
 </resources>

Kodo/kodo - Gogs: Go Git Service

1 次代码提交 (d54f8ef024d8f88c807c70d3ad6d3c089aa35c26)

作者 SHA1 备注 提交日期
  Brightcells 537c495621 Statistic 7 年之前