From 8c52c7c268ca5b2147b5276da0e2d550876213c3 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 09 十二月 2019 15:00:04 +0800 Subject: [PATCH] 2019-12-09-2 --- 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 100644 --- 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