From 882155f064c6cfa8ccd092ec083c4264eb7b3020 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期二, 10 十二月 2019 17:55:55 +0800 Subject: [PATCH] 2019-12-10-02 --- ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs index 1dcbdfe..33f3ecc 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs @@ -30,6 +30,7 @@ Height = Application.GetRealHeight(69), Y = Application.GetRealHeight(92), TextID = MyInternationalizationString.custompush, + IsBold = true, }; topRowLayout.AddChidren(titleName); @@ -70,17 +71,18 @@ }; this.AddChidren(middle); - var textBox = new EditText + var textBox = new EditTextView//EditText { Width = Application.GetRealWidth(1080), Height = Application.GetRealHeight(600), - TextAlignment = TextAlignment.CenterLeft, + TextAlignment = TextAlignment.TopLeft, TextColor = ZigbeeColor.Current.LogicTextBlackColor, BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor, Text = Common.Logic.CurrentLogic.LogicCustomPushText, TextSize = 14, }; middle.AddChidren(textBox); + textBox.HideSoftInput(); var btnsave = new Button { -- Gitblit v1.8.0