From: hcj <1224667075@qq.com> Date: Thu, 12 Sep 2024 13:11:57 +0000 (+0800) Subject: 计步有遮挡 #685 X-Git-Tag: release_V1.2.70_20241020_135402~495 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=3aac60d19eb21f81d95a75a5413f128f8f6d8199;p=mirrors%2FFD230.git 计步有遮挡 #685 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp b/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp index adb2d7998..6ec2dcb24 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp @@ -16,7 +16,7 @@ namespace OHOS static constexpr int16_t PULLUP_ANIMATOR_VIEW_X = 213; - static constexpr int16_t PULLUP_ANIMATOR_VIEW_Y = 364; + static constexpr int16_t PULLUP_ANIMATOR_VIEW_Y = 380; static constexpr int16_t PULLUP_ANIMATOR_VIEW_W = 40; static constexpr int16_t PULLUP_ANIMATOR_VIEW_H = 40; static constexpr int16_t PULLUP_ANIMATOR_VIEW_NUM_FRAMES = 70; @@ -209,7 +209,7 @@ namespace OHOS if (circleProgressimage == nullptr) { circleProgressimage = new UIImageView(); } - circleProgressimage->SetPosition(28, 80); // widget's left position and top position + circleProgressimage->SetPosition(28, 80-5); // widget's left position and top position circleProgressimage->Resize(100, 100); // widget's width and height circleProgressimage->SetViewId("image5");// Set style @@ -230,7 +230,7 @@ namespace OHOS if (circleProgress1_ == nullptr) { circleProgress1_ = new UICircleProgress(); } - circleProgress1_->SetPosition(-1, 0); // widget's left position and top position + circleProgress1_->SetPosition(0, -5); // widget's left position and top position circleProgress1_->Resize(466, 466); // widget's width and height circleProgress1_->SetViewId("circleProgress1");// Set style circleProgress1_->SetStyle(STYLE_BACKGROUND_OPA, 0x00);