解决查找手机标签被挡住bug
authorluozheng <1732036298@qq.com>
Sat, 5 Oct 2024 02:17:52 +0000 (10:17 +0800)
committerluozheng <1732036298@qq.com>
Sat, 5 Oct 2024 02:17:52 +0000 (10:17 +0800)
code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp

index 706259f..4635d25 100644 (file)
@@ -8,7 +8,7 @@
  * @Author: luozheng 1732036298@qq.com
  * @Date: 2024-03-27 10:47:46
  * @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-09-30 11:31:16
+ * @LastEditTime: 2024-10-05 10:16:43
  * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp
  */
 #include "findphone/include/FindPhoneView.h"
@@ -137,7 +137,7 @@ namespace OHOS
                 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[CreateDeviceUnBindingView] FindPhoneLabel new fail");
                 return;
             }
-            FindPhoneLabel->SetPosition(53, 270, 360, 35);
+            FindPhoneLabel->SetPosition(83, 270, 300, 35);
             FindPhoneLabel->SetStyle(STYLE_TEXT_FONT, 30);
             FindPhoneLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
             FindPhoneLabel->SetTextId(STR_BLUETOOTH_DISCONNECTED);//蓝牙未连接
@@ -235,7 +235,7 @@ namespace OHOS
                 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[CreateDeviceUnBindingView] FindPhoneLabel new fail");
                 return;
             }
-            FindPhoneLabel->SetPosition(53, 270, 360, 35);
+            FindPhoneLabel->SetPosition(83, 270, 300, 35);
             FindPhoneLabel->SetStyle(STYLE_TEXT_FONT, 30);
             FindPhoneLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
             FindPhoneLabel->SetTextId(STR_PHONE_RINGING_VIBRATING);//手机正在响铃/震动