From ef63c84b3b408fea661f84d3f9ecc237787af250 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 09 十二月 2019 11:10:07 +0800 Subject: [PATCH] 2019-12-09-1 --- 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