From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 01 十二月 2022 09:56:25 +0800 Subject: [PATCH] 2022年12月01日09:56:23 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorlockDialog.cs index 0c6c44e..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 { @@ -48,7 +56,6 @@ /// </summary> public FrameLayout dialogMidFraFrameLayout = new FrameLayout { - Width = Application.GetRealWidth(415), Height = Application.GetRealHeight(58), X = Application.GetRealWidth(190), Y = Application.GetRealHeight(202), @@ -60,16 +67,21 @@ public Button dialogMidText = new Button { TextColor = Shared.Common.ZigbeeColor.Current.XMGray3, + TextSize = 14, + TextAlignment = TextAlignment.Center, }; /// <summary> - /// 闃村奖閮ㄥ垎 + /// 寮圭獥闃村奖鑳屾櫙 /// </summary> public FrameLayout flMain = new FrameLayout { BackgroundColor = 0x00000000, }; + /// <summary> + /// 寮圭獥鏄剧ず + /// </summary> public void Show() { dialog.Show(); @@ -86,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); @@ -142,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 @@ -152,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