设备(1)

This commit is contained in:
2026-05-18 17:39:30 +08:00
parent a9fb39cfde
commit 45828c7e9b
23 changed files with 895 additions and 67 deletions

View File

@@ -45,6 +45,7 @@
android:textSize="14dp"/>
<TextView
android:id="@+id/tvDeviceModelValue"
android:text="VDF-2000-A1"
android:textColor="@color/gray"
android:layout_width="wrap_content"
@@ -59,11 +60,12 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/auto_arms_start_time"
android:text="@string/device_no"
android:textSize="14dp"/>
<TextView
android:text="VDF20260318001759"
android:id="@+id/tvDeviceNoValue"
android:text=""
android:textColor="@color/gray"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -77,11 +79,12 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/auto_arms_end_time"
android:text="@string/fw_version"
android:textSize="14dp"/>
<TextView
android:text="20261015-build1008"
android:id="@+id/tvFwVersionValue"
android:text=""
android:textColor="@color/gray"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@@ -142,18 +142,24 @@
android:rowCount="1" >
</GridLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvDeviceList"
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginStart="12dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="12dp"
android:layout_weight="1"
android:clipToPadding="false"
android:nestedScrollingEnabled="false"
android:paddingBottom="16dp"
tools:listitem="@layout/item_device" />
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvDeviceList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="12dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="12dp"
android:clipToPadding="false"
android:nestedScrollingEnabled="false"
android:paddingBottom="16dp"
tools:listitem="@layout/item_device" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<LinearLayout
android:id="@+id/layoutNoPermission"

View File

@@ -425,4 +425,6 @@
<string name="invite_friend">快来加入我扫码下载APP</string>
<string name="share_to">分享至</string>
<string name="no_share_app">暂无可用分享应用</string>
<string name="device_no">设备编号</string>
<string name="fw_version">固件版本</string>
</resources>

View File

@@ -19,5 +19,6 @@
<color name="ic_blake">#111111</color>
<color name="green_light">#E8F7F7</color>
<color name="gray_divider">#E5E5E5</color>
<color name="orange">#FF9800</color>
</resources>

View File

@@ -188,6 +188,8 @@
<string name="enter_warning_voice_content_system_will_generate_voice_automatically">Enter warning voice content, system will generate voice automatically.</string>
<string name="device_info">Device info</string>
<string name="device_model">Device model</string>
<string name="device_no">Device No</string>
<string name="fw_version">FW Version</string>
<string name="auto_arms_start_time">Auto arm start time</string>
<string name="auto_arms_end_time">Auto arm End time</string>
<string name="please_select_at_least_one_user">Please select at least one user</string>