| | |
| | | /// <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;
|