</LinearLayout>
449 449
 
450
+                <View
451
+                    android:layout_width="match_parent"
452
+                    android:layout_height="1px"
453
+                    android:background="@color/text_hint_grey_color" />
454
+
455
+                <LinearLayout
456
+                    android:layout_width="match_parent"
457
+                    android:layout_height="44dp"
458
+                    android:orientation="horizontal">
459
+
460
+                    <TextView
461
+                        android:layout_width="wrap_content"
462
+                        android:layout_height="wrap_content"
463
+                        android:layout_gravity="center_vertical"
464
+                        android:paddingLeft="10dp"
465
+                        android:text="@string/firmware_version"
466
+                        android:textColor="@color/dark_grey"
467
+                        android:textSize="16sp" />
468
+
469
+                    <TextView
470
+                        android:id="@+id/tv_box_version"
471
+                        android:layout_width="0dp"
472
+                        android:layout_height="match_parent"
473
+                        android:layout_weight="1"
474
+                        android:gravity="center_vertical|right"
475
+                        android:paddingRight="10dp"
476
+                        android:textColor="@color/grey"
477
+                        android:textSize="14sp" />
478
+                </LinearLayout>
479
+
450 480
             </LinearLayout>
451 481
 
452 482
             <LinearLayout

+ 2 - 0
app/src/main/res/values/strings.xml

@@ -122,6 +122,8 @@
122 122
 
123 123
     <string name="box_status">盒子状态</string>
124 124
 
125
+    <string name="firmware_version">固件版本</string>
126
+
125 127
     <string name="price_manage">价格管理</string>
126 128
 
127 129
     <string name="platform_price_rule">分成及结算规则</string>

Pai2/pai2 - Gogs: Go Git Service

1 次代码提交 (23f00aedae8545053d3c3e06ac9eda02f766b5ff)

作者 SHA1 备注 提交日期
  Brightcells df1df69fe3 add api upgrade/splash 10 年之前