wifi管理,解绑设备

This commit is contained in:
2026-05-20 09:48:18 +08:00
parent d98deb406f
commit e4c17969b7
9 changed files with 185 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:background="@drawable/rounded_top_corner"
android:orientation="vertical">
@@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="56dp"
android:gravity="center"
android:text="@string/select_wifi"
android:text="@string/select_wifi"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
@@ -20,11 +20,18 @@
android:layout_height="1dp"
android:background="@color/dialog_view" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvWifiList"
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="400dp"
android:overScrollMode="never" />
android:layout_height="0dp"
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvWifiList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</LinearLayout>

View File

@@ -47,22 +47,16 @@
<!-- 人体模型区域 -->
<RelativeLayout
android:id="@+id/bodyLayout"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_margin="16dp"
android:padding="16dp">
<!-- 虚线边框 android:background="@drawable/bg_scan_frame"-->
<View
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_margin="16dp">
<!-- 人体模型图片 -->
<ImageView
android:id="@+id/ivHumanBody"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="439dp"
android:scaleType="fitCenter"
android:src="@drawable/human_body" />
@@ -72,7 +66,6 @@
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="30dp"
android:scaleType="fitCenter"
android:src="@drawable/dajitubiao" />
@@ -84,7 +77,6 @@
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_margin="16dp"
android:layout_marginBottom="40dp"
android:background="@drawable/rounded_blue_bg"
android:text="@string/submit"
android:textColor="@color/white"