计步有遮挡 #685
authorhcj <1224667075@qq.com>
Thu, 12 Sep 2024 13:11:57 +0000 (21:11 +0800)
committerhcj <1224667075@qq.com>
Thu, 12 Sep 2024 13:11:57 +0000 (21:11 +0800)
code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp

index adb2d79..6ec2dcb 100644 (file)
@@ -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);