From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 30 八月 2022 09:37:38 +0800
Subject: [PATCH] 合并了IOS的代码

---
 ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs
index 0ef19e2..66b0c5a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs
@@ -5,16 +5,24 @@
 {
     public class DoorlockDialog : FrameLayout
     {
+        /// <summary>
+        /// 闂ㄩ攣寮圭獥
+        /// </summary>
+        /// <param name="dialog"></param>
+        /// <param name="title"></param>
         public DoorlockDialog(Dialog dialog, string title)
         {
             this.dialog = dialog;
             this.title = title;
         }
+        /// <summary>
+        /// 寮圭獥鏍囬
+        /// </summary>
         public string title = string.Empty;
         public Dialog dialog;
 
         /// <summary>
-        /// 寮圭獥鍙栨秷鎸夐敭
+        /// 寮圭獥鏍囬鏍忎笅鐨勭嚎鏉�
         /// </summary>
         public Button dialogLine = new Button
         {
@@ -64,13 +72,16 @@
         };
 
         /// <summary>
-        /// 闃村奖閮ㄥ垎
+        /// 寮圭獥闃村奖鑳屾櫙
         /// </summary>
         public FrameLayout flMain = new FrameLayout
         {
             BackgroundColor = 0x00000000,
         };
 
+        /// <summary>
+        /// 寮圭獥鏄剧ず
+        /// </summary>
         public void Show()
         {
             dialog.Show();
@@ -87,7 +98,7 @@
                 Y = Application.GetRealHeight(691 - 184),
                 X = Application.GetRealWidth(144),
                 BackgroundColor = Shared.Common.ZigbeeColor.Current.XMWhite,
-                Radius = 6,
+                Radius = (uint)Application.GetRealHeight(17),
             };
             flMain.AddChidren(dialogFrameLayout);
 
@@ -143,7 +154,7 @@
                 Height = Application.GetRealHeight(128) - 1,
                 Y = Application.GetRealHeight(380) + 1,
                 BackgroundColor = Shared.Common.ZigbeeColor.Current.XMMidFrameLayout,
-                Radius = 6,
+                Radius = (uint)Application.GetRealHeight(17),
             };
 
             var r2FrameLayout = new FrameLayout
@@ -153,7 +164,7 @@
                 X = Application.GetRealWidth(397),
                 Y = Application.GetRealHeight(380) + 1,
                 BackgroundColor = Shared.Common.ZigbeeColor.Current.XMBlack,
-                Radius = 6,
+                Radius = (uint)Application.GetRealHeight(17),
             };
             dialogFrameLayout.AddChidren(rFrameLayout0);
             dialogFrameLayout.AddChidren(rFrameLayout1);

--
Gitblit v1.8.0