wifi管理,解绑设备
This commit is contained in:
@@ -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>
|
||||
@@ -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"
|
||||
|
||||
@@ -427,4 +427,11 @@
|
||||
<string name="no_share_app">暂无可用分享应用</string>
|
||||
<string name="device_no">设备编号</string>
|
||||
<string name="fw_version">固件版本</string>
|
||||
|
||||
<!-- WiFi管理 -->
|
||||
<string name="not_set">未设置</string>
|
||||
<string name="device_id_empty">设备ID为空</string>
|
||||
<string name="modify_success">修改成功</string>
|
||||
<string name="modify_failed">修改失败</string>
|
||||
<string name="network_request_failed">网络请求失败</string>
|
||||
</resources>
|
||||
@@ -432,4 +432,11 @@
|
||||
<string name="invite_friend">Come and join me! Scan the QR code to download the app</string>
|
||||
<string name="share_to">Share to</string>
|
||||
<string name="no_share_app">No sharing application available</string>
|
||||
|
||||
<!-- WiFi Management -->
|
||||
<string name="not_set">Not set</string>
|
||||
<string name="device_id_empty">Device ID is empty</string>
|
||||
<string name="modify_success">Modified successfully</string>
|
||||
<string name="modify_failed">Modification failed</string>
|
||||
<string name="network_request_failed">Network request failed</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user