diff --git a/app/src/main/java/com/ouxuan/oxface/OXFaceOnlineActivity.java b/app/src/main/java/com/ouxuan/oxface/OXFaceOnlineActivity.java
index 2871206..e914fee 100644
--- a/app/src/main/java/com/ouxuan/oxface/OXFaceOnlineActivity.java
+++ b/app/src/main/java/com/ouxuan/oxface/OXFaceOnlineActivity.java
@@ -116,8 +116,8 @@ public class OXFaceOnlineActivity extends BaseActivity implements View.OnClickLi
// 底部按钮
private Button btnOpenDoor;
- private Button btnScanQR;
- private Button btnSettings;
+// private Button btnScanQR;
+// private Button btnSettings;
// 新增的二维码区域控件
private ImageView imgMiniProgramCode;
@@ -207,18 +207,18 @@ public class OXFaceOnlineActivity extends BaseActivity implements View.OnClickLi
// 初始化底部按钮
btnOpenDoor = findViewById(R.id.button_open_door);
- btnScanQR = findViewById(R.id.button_scan_qr);
- btnSettings = findViewById(R.id.button_settings);
+// btnScanQR = findViewById(R.id.button_scan_qr);
+// btnSettings = findViewById(R.id.button_settings);
if (btnOpenDoor != null) {
btnOpenDoor.setOnClickListener(this);
}
- if (btnScanQR != null) {
- btnScanQR.setOnClickListener(this);
- }
- if (btnSettings != null) {
- btnSettings.setOnClickListener(this);
- }
+// if (btnScanQR != null) {
+// btnScanQR.setOnClickListener(this);
+// }
+// if (btnSettings != null) {
+// btnSettings.setOnClickListener(this);
+// }
// 隐藏原有的UI元素
hideOriginalUI();
@@ -411,13 +411,15 @@ public class OXFaceOnlineActivity extends BaseActivity implements View.OnClickLi
} else if (id == R.id.button_open_door) {
// 开门按钮点击事件
handleOpenDoorClick();
- } else if (id == R.id.button_scan_qr) {
- // 扫码按钮点击事件
- handleScanQRClick();
- } else if (id == R.id.button_settings) {
- // 设置按钮点击事件
- handleSettingsClick();
- } else if (id == R.id.img_mini_program_code) {
+ }
+// else if (id == R.id.button_scan_qr) {
+// // 扫码按钮点击事件
+// handleScanQRClick();
+// } else if (id == R.id.button_settings) {
+// // 设置按钮点击事件
+// handleSettingsClick();
+// }
+ else if (id == R.id.img_mini_program_code) {
// 新用户扫码上传人脸点击事件
handleMiniProgramCodeClick();
} else if (id == R.id.img_scan_door_qrcode) {
diff --git a/app/src/main/res/layout/activity_oxface_online.xml b/app/src/main/res/layout/activity_oxface_online.xml
index 4cdab2b..2f2de56 100644
--- a/app/src/main/res/layout/activity_oxface_online.xml
+++ b/app/src/main/res/layout/activity_oxface_online.xml
@@ -222,6 +222,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ android:layout_marginBottom="80dp"
android:background="#80000000">
@@ -291,74 +294,79 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file