黄学彪
2020-09-18 c7df85937f73fb347ee0b19e9c052d2d00a6df6c
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;