From 163777d8a2cb7cfa469f54a7042528870ebc10a3 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 09 十二月 2019 17:46:20 +0800 Subject: [PATCH] 一个新版本 --- ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs index 35e6f82..a8a3b9d 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs @@ -22,7 +22,7 @@ var titleName = new Button { - TextSize = 16, + TextSize = 17, TextColor = ZigbeeColor.Current.LogicTextBlackColor, TextAlignment = TextAlignment.CenterLeft, X = Application.GetRealWidth(176), @@ -70,7 +70,7 @@ }; this.AddChidren(middle); - var textBox = new EditText + var textBox = new EditTextView//EditText { Width = Application.GetRealWidth(1080), Height = Application.GetRealHeight(600), @@ -78,8 +78,10 @@ TextColor = ZigbeeColor.Current.LogicTextBlackColor, BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor, Text = Common.Logic.CurrentLogic.LogicCustomPushText, + TextSize = 14, }; middle.AddChidren(textBox); + textBox.HideSoftInput(); var btnsave = new Button { @@ -91,7 +93,8 @@ BackgroundColor = ZigbeeColor.Current.LogicBtnSaveBackgroundColor, TextID = MyInternationalizationString.confrim, TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor, - }; + TextSize = 16, + }; middle.AddChidren(btnsave); -- Gitblit v1.8.0