From 2e7e5f9af5b32cfe1fc3c6ba40bf7eb984bbd0a4 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 11 五月 2020 17:52:06 +0800
Subject: [PATCH] ???????

---
 ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs
old mode 100755
new mode 100644
index e45f7e8..c7b0fe4
--- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs
@@ -72,6 +72,9 @@
                 Y = topFrame.Bottom,
                 Width = Application.GetRealWidth(792),
                 Height = Application.GetRealHeight(127),
+             Gravity=Gravity.BottomCenter,
+
+
             };
             tipFLayout.AddChidren(bottomFrame);
 
@@ -81,10 +84,11 @@
                 TextAlignment = TextAlignment.Center,
                 TextColor = ZigbeeColor.Current.LogicBtnCancelColor,
                 TextSize = 14,
-                Height = Application.GetRealHeight(127),
+                Height = bottomFrame.Height,
                 Width = Application.GetRealWidth(397),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
                 TextID = R.MyInternationalizationString.cancel,
+                
             };
             bottomFrame.AddChidren(cancelBtn);
             cancelBtn.SetCornerWithSameRadius(Application.GetRealHeight(17), HDLUtils.RectCornerBottomLeft);
@@ -95,7 +99,7 @@
                 TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor,
                 TextSize = 14,
                 X = cancelBtn.Right,
-                Height = Application.GetRealHeight(127),
+                Height = bottomFrame.Height,
                 Width = bottomFrame.Width - cancelBtn.Width,
                 BackgroundColor = ZigbeeColor.Current.LogicBtnTypeColor,
                 TextID = R.MyInternationalizationString.confrim,
@@ -215,6 +219,7 @@
                 Y = topFrame.Bottom,
                 Width = Application.GetRealWidth(792),
                 Height = Application.GetRealHeight(127),
+                Gravity=Gravity.BottomCenter,
             };
             tipFLayout.AddChidren(bottomFrame);
             ///鍙栨秷鎺т欢
@@ -223,7 +228,7 @@
                 TextAlignment = TextAlignment.Center,
                 TextColor = ZigbeeColor.Current.LogicBtnCancelColor,
                 TextSize = 14,
-                Height = Application.GetRealHeight(127),
+                Height = bottomFrame.Height,
                 Width = Application.GetRealWidth(397),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
                 TextID = R.MyInternationalizationString.cancel,
@@ -236,7 +241,7 @@
                 TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor,
                 TextSize = 14,
                 X = cancelBtn.Right,
-                Height = Application.GetRealHeight(127),
+                Height = bottomFrame.Height,
                 Width = bottomFrame.Width - cancelBtn.Width,
                 BackgroundColor = ZigbeeColor.Current.LogicBtnTypeColor,
                 TextID = R.MyInternationalizationString.confrim,
@@ -355,6 +360,8 @@
                 Y = topFrame.Bottom,
                 Width = Application.GetRealWidth(792),
                 Height = Application.GetRealHeight(127),
+                Gravity = Gravity.BottomCenter,
+
             };
             tipFLayout.AddChidren(bottomFrame);
             ///鍙栨秷鎺т欢
@@ -363,7 +370,7 @@
                 TextAlignment = TextAlignment.Center,
                 TextColor = ZigbeeColor.Current.LogicBtnCancelColor,
                 TextSize = 14,
-                Height = Application.GetRealHeight(127),
+                Height = bottomFrame.Height,
                 Width = Application.GetRealWidth(397),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
                 TextID = R.MyInternationalizationString.cancel,
@@ -376,7 +383,7 @@
                 TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor,
                 TextSize = 14,
                 X = cancelBtn.Right,
-                Height = Application.GetRealHeight(127),
+                Height = bottomFrame.Height,
                 Width = bottomFrame.Width - cancelBtn.Width,
                 BackgroundColor = ZigbeeColor.Current.LogicBtnTypeColor,
                 TextID = R.MyInternationalizationString.confrim,

--
Gitblit v1.8.0