| | |
| | | /// <summary> |
| | | /// 区域添加功能小区域 |
| | | /// </summary> |
| | | FrameLayout residenceAddFunctionView; |
| | | /// <summary> |
| | | /// 区域添加功能小区域图标 |
| | | /// </summary> |
| | | Button btnResidenceAddFunctionIcon; |
| | | /// <summary> |
| | | /// 区域添加功能小区域文本 |
| | | /// </summary> |
| | | Button btnResidenceAddFunctionText; |
| | | //FrameLayout residenceAddFunctionView; |
| | | ///// <summary> |
| | | ///// 区域添加功能小区域图标 |
| | | ///// </summary> |
| | | //Button btnResidenceAddFunctionIcon; |
| | | ///// <summary> |
| | | ///// 区域添加功能小区域文本 |
| | | ///// </summary> |
| | | //Button btnResidenceAddFunctionText; |
| | | |
| | | ///// <summary> |
| | | ///// 软件设置区域 |
| | |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(213), |
| | | Height = Application.GetRealHeight(144), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | |
| | | X = Application.GetRealWidth(28 - 24), |
| | | Y = Application.GetRealHeight(68), |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(74), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceManageView); |
| | | |
| | |
| | | X = residenceManageView.Right, |
| | | Y = Application.GetRealHeight(68), |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(74), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceMemberView); |
| | | |
| | |
| | | // X = residenceMemberView.Right, |
| | | // Y = Application.GetRealHeight(68), |
| | | // Width = Application.GetRealWidth(64 + 48), |
| | | // Height = Application.GetRealHeight(64), |
| | | // Height = Application.GetRealHeight(74), |
| | | //}; |
| | | //residenceInfoView.AddChidren(residenceArmView); |
| | | //btnResidenceArmIcon = new Button |
| | |
| | | { |
| | | residenceFunctionCount++; |
| | | #region ---添加功能区域 |
| | | residenceAddFunctionView = new FrameLayout() |
| | | { |
| | | X = residenceMemberView.Right, |
| | | //X = Application.GetRealWidth(28 - 24), |
| | | Y = Application.GetRealHeight(68),//residenceManageView.Bottom, |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceAddFunctionView); |
| | | btnResidenceAddFunctionIcon = new Button |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(5), |
| | | Width = Application.GetMinRealAverage(30), |
| | | Height = Application.GetMinRealAverage(30), |
| | | UnSelectedImagePath = "PersonalCenter/AddFunctionIcon.png", |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionIcon); |
| | | btnResidenceAddFunctionText = new Button() |
| | | { |
| | | Y = btnResidenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.AddFunction, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText); |
| | | //residenceAddFunctionView = new FrameLayout() |
| | | //{ |
| | | // X = residenceMemberView.Right, |
| | | // //X = Application.GetRealWidth(28 - 24), |
| | | // Y = Application.GetRealHeight(68),//residenceManageView.Bottom, |
| | | // Width = Application.GetRealWidth(64 + 48), |
| | | // Height = Application.GetRealWidth(64), |
| | | //}; |
| | | //residenceInfoView.AddChidren(residenceAddFunctionView); |
| | | //btnResidenceAddFunctionIcon = new Button |
| | | //{ |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Y = Application.GetRealHeight(5), |
| | | // Width = Application.GetMinRealAverage(30), |
| | | // Height = Application.GetMinRealAverage(30), |
| | | // UnSelectedImagePath = "PersonalCenter/AddFunctionIcon.png", |
| | | //}; |
| | | //residenceAddFunctionView.AddChidren(btnResidenceAddFunctionIcon); |
| | | //btnResidenceAddFunctionText = new Button() |
| | | //{ |
| | | // Y = btnResidenceManageIcon.Bottom, |
| | | // Height = Application.GetRealHeight(29), |
| | | // TextID = StringId.AddFunction, |
| | | // TextAlignment = TextAlignment.Center, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | //}; |
| | | //residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText); |
| | | #endregion |
| | | |
| | | } |