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 |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs
old mode 100755
new mode 100644
index 2d8c58c..33f3ecc
--- a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs
@@ -22,14 +22,15 @@
 
             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,
+                IsBold = true,
             };
             topRowLayout.AddChidren(titleName);
 
@@ -70,16 +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
             {
@@ -91,7 +94,8 @@
                 BackgroundColor = ZigbeeColor.Current.LogicBtnSaveBackgroundColor,
                 TextID = MyInternationalizationString.confrim,
                 TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor,
-            };
+                 TextSize = 16,
+             };
             middle.AddChidren(btnsave);
 
                      

--
Gitblit v1.8.0