设备(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"