From 3a0057513f972fe763c1c768fd161ec2fc39869d Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Mon, 28 Oct 2024 18:47:00 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0=E7=BB=9F=E8=93=9D?= =?utf8?q?=E7=89=99=E7=95=8C=E9=9D=A2=E6=8F=90=E7=A4=BA=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/classicbluetooth/src/ClassicBlueToothView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothView.cpp b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothView.cpp index d9fd09177..21b0ed6cb 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothView.cpp @@ -191,7 +191,9 @@ namespace OHOS AttentionLabel->SetStyle(STYLE_TEXT_FONT, 20); // 字体大小 AttentionLabel->SetStyle(STYLE_LINE_HEIGHT, 30); // 字体行高 //.text = "注:开启后10分钟没连接成功会自动关闭,因为传统蓝牙长时间打开会增加电耗,建议在有需要的时候使用(该功能主要用于电话拨打/通知、音乐控制/传输等)", - AttentionLabel->SetTextId(STR_AUTO_OFF_BLUETOOTH_NOTE); + // AttentionLabel->SetTextId(STR_AUTO_OFF_BLUETOOTH_NOTE); + //TODO:多国语言 + AttentionLabel->SetText("注:开启后10分钟没连接成功会自动关闭,因为传统蓝牙长时间打开会增加耗电,建议在有需要的时候使用(该功能主要用于电话拨打/通知、音乐控制/传输等)"); AttentionLabel->SetTextColor(Color::GetColorFromRGBA(0x99, 0x99, 0x99, 0xff)); AttentionLabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); AttentionLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP); // 断行模式。 -- 2.17.1