From 73e6bfcd3eed1b4aa714af538891a3a62864b516 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 05 十二月 2019 14:34:59 +0800 Subject: [PATCH] 2019-12-05-1 --- ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs index 2d8c58c..a8a3b9d 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs @@ -22,11 +22,11 @@ var titleName = new Button { - TextSize = 16, + TextSize = 17, TextColor = ZigbeeColor.Current.LogicTextBlackColor, TextAlignment = TextAlignment.CenterLeft, X = Application.GetRealWidth(176), - Width = Application.GetRealWidth(400), + Width = Application.GetRealWidth(600), Height = Application.GetRealHeight(69), Y = Application.GetRealHeight(92), TextID = MyInternationalizationString.custompush, @@ -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