From 389420c5470c93a72c8ab03daf60df5edf77dbd6 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Mon, 2 Sep 2024 20:07:37 +0800 Subject: [PATCH] =?utf8?q?=E9=80=9A=E8=BF=87=E8=AE=BE=E7=BD=AE=E5=9B=BE?= =?utf8?q?=E5=83=8F=E5=A4=A7=E5=B0=8F=E4=B8=BA=E5=9B=BA=E5=AE=9A=E4=B8=BA?= =?utf8?q?=E8=A7=86=E5=9B=BE=E5=A4=A7=E5=B0=8F=E3=80=82=E8=A7=A3=E5=86=B3?= =?utf8?q?=E5=9C=A8=E6=8B=96=E5=8A=A8scrolView=E8=BF=87=E7=A8=8B=E4=B8=AD?= =?utf8?q?=E5=8A=A8=E7=94=BB=E4=B8=8A=E4=B8=8B=E7=A7=BB=E5=8A=A8=E9=97=AE?= =?utf8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../service/msg_center/src/notify/pairing_notification.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp index 054bc06a3..f6b41db73 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-03-22 10:04:36 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-09-02 17:27:00 + * @LastEditTime: 2024-09-02 20:03:45 * @FilePath: /FD230/code/sdk/application/wearable/service/msg_center/src/notify/pairing_notification.cpp */ #include "notification_manager.h" @@ -292,6 +292,7 @@ namespace OHOS DeviceBindingAnimatorView->SetAutoEnable(false); DeviceBindingAnimatorView->SetResizeMode(UIImageAnimatorView::CENTER); DeviceBindingAnimatorView->Start(); + DeviceBindingAnimatorView->SetSizeFixed(true); } /* ---------------------------- DeviceBindingName --------------------------- */ if (DeviceBindingName == nullptr) @@ -433,6 +434,7 @@ namespace OHOS DeviceUnBindingAnimatorView->SetStyle(STYLE_BACKGROUND_OPA, 0xff); DeviceUnBindingAnimatorView->SetImageAnimatorSrc(UnBindImageInfo, UNBIND_IMAGE_ANIMATOR_VIEW_NUM_FRAMES, UNBIND_IMAGE_ANIMATOR_VIEW_TIMEOFUPDATE); DeviceUnBindingAnimatorView->SetRepeat(true); + DeviceUnBindingAnimatorView->SetSizeFixed(true); DeviceUnBindingAnimatorView->Start(); } /* ----------------------- DeviceUnBindingViewTitleLabel ---------------------- */ -- 2.17.1