From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/InformationEditorControl.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/InformationEditorControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/InformationEditorControl.cs index 62f0a2b..76d3099 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/InformationEditorControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/InformationEditorControl.cs @@ -34,12 +34,14 @@ /// <param name="bodyFrameLayout">鐖舵帶浠�</param> /// <param name="title">鏍囬鏂囨湰</param> /// <param name="Height">钃濇箹UI閲岄潰瀹冪殑楂樺害</param> + /// <param name="real">鏄惁璁$畻Height鐨勭湡瀹炲��</param> /// <returns>淇℃伅瀹瑰櫒鎺т欢</returns> - public FrameListControl InitControl(FrameLayout bodyFrameLayout, string title, int Height) + public FrameListControl InitControl(FrameLayout bodyFrameLayout, string title, int Height, bool real = true) { + if (real == true) { Height = Application.GetRealHeight(Height); } //鏄庣粏鍒楄〃鐨勬甯冿紝鐧借壊鑳屾櫙 this.detailBackFrame = new FrameLayout(); - detailBackFrame.Height = Application.GetRealHeight(Height); + detailBackFrame.Height = Height; detailBackFrame.BackgroundColor = UserCenterColor.Current.White; detailBackFrame.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); detailBackFrame.Gravity = Gravity.BottomCenter; -- Gitblit v1.8.0