From 38425258f3c5a2ffc79b817faecc83887945f7b1 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Tue, 14 Jan 2025 16:59:53 +0800 Subject: [PATCH] =?utf8?q?=E7=94=B5=E8=AF=9D=EF=BC=9A=E5=A2=9E=E5=8A=A0?= =?utf8?q?=E6=8E=A5=E5=90=AC=E6=8C=82=E6=96=AD=E7=9A=84=E5=AE=9E=E9=99=85?= =?utf8?q?=E8=A7=A6=E6=91=B8=E9=9D=A2=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/makephone/src/CallerDisplayView.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallerDisplayView.cpp b/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallerDisplayView.cpp index 86d717909..e3fe84949 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallerDisplayView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallerDisplayView.cpp @@ -96,7 +96,10 @@ bool CallerDisplayView::InitImageViewDisplay() if (imageAgreeing == nullptr) { return false; } - imageAgreeing->SetPosition(369, 207); // 30 : offset + imageAgreeing->SetPosition(369-24, 207-24); // 30 : offset + imageAgreeing->Resize(100, 100); + imageAgreeing->SetAutoEnable (false); + imageAgreeing->SetResizeMode(UIImageView::CENTER); imageAgreeing->SetSrc(PNG_ANSWER_230_TMAGE_PATH); imageAgreeing->SetTouchable(true); imageAgreeing->SetViewId("answer"); @@ -106,7 +109,10 @@ bool CallerDisplayView::InitImageViewDisplay() if (imageDissgree == nullptr) { return false; } - imageDissgree->SetPosition(46, 207); // 30 : offset + imageDissgree->SetPosition(46-24, 207-24); // 30 : offset + imageDissgree->Resize(100, 100); + imageDissgree->SetAutoEnable (false); + imageDissgree->SetResizeMode(UIImageView::CENTER); imageDissgree->SetSrc(PNG_HANDUP_230_IMAGE_PATH); imageDissgree->SetTouchable(true); imageDissgree->SetViewId("displayHandUp"); -- 2.17.1