From 77e7b5223dd04a6e036dc952efb38f2b770a6828 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 09 六月 2020 13:50:43 +0800 Subject: [PATCH] 2020--6-9 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 137 +++++++++++++++++++++++---------------------- 1 files changed, 69 insertions(+), 68 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs index f3ccc06..0f6b5af 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs @@ -92,18 +92,18 @@ /// 鍖哄煙瀹夋斁灏忓尯鍩熸枃鏈� /// </summary> Button btnResidenceArmText; - /// <summary> - /// 鍖哄煙鏁版嵁澶囦唤灏忓尯鍩� - /// </summary> - FrameLayout residenceDataBackupView; - /// <summary> - /// 鍖哄煙鏁版嵁澶囦唤灏忓尯鍩熷浘鏍� - /// </summary> - Button btnResidenceDataBackupIcon; - /// <summary> - /// 鍖哄煙鏁版嵁澶囦唤灏忓尯鍩熸枃鏈� - /// </summary> - Button btnResidenceDataBackupText; + ///// <summary> + ///// 鍖哄煙鏁版嵁澶囦唤灏忓尯鍩� + ///// </summary> + //FrameLayout residenceDataBackupView; + ///// <summary> + ///// 鍖哄煙鏁版嵁澶囦唤灏忓尯鍩熷浘鏍� + ///// </summary> + //Button btnResidenceDataBackupIcon; + ///// <summary> + ///// 鍖哄煙鏁版嵁澶囦唤灏忓尯鍩熸枃鏈� + ///// </summary> + //Button btnResidenceDataBackupText; /// <summary> /// 鍖哄煙杈呭姪鍔熻兘灏忓尯鍩� /// </summary> @@ -426,39 +426,40 @@ residenceArmView.AddChidren(btnResidenceArmText); #endregion #region ---鏁版嵁澶囦唤鍖哄煙 - residenceDataBackupView = new FrameLayout() - { - X = Application.GetRealWidth(28 - 24), - Y = residenceManageView.Bottom, - Width = Application.GetRealWidth(64 + 48), - Height = Application.GetRealWidth(64), - }; - residenceInfoView.AddChidren(residenceDataBackupView); - btnResidenceDataBackupIcon = new Button - { - Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(5), - Width = Application.GetMinRealAverage(30), - Height = Application.GetMinRealAverage(30), - UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", - }; - residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); - btnResidenceDataBackupText = new Button() - { - Y = btnResidenceManageIcon.Bottom, - Height = Application.GetRealHeight(29), - TextID = StringId.DataBackup, - TextAlignment = TextAlignment.Center, - TextColor = CSS_Color.FirstLevelTitleColor, - TextSize = CSS_FontSize.PromptFontSize_FirstLevel - }; - residenceDataBackupView.AddChidren(btnResidenceDataBackupText); + //residenceDataBackupView = new FrameLayout() + //{ + // X = Application.GetRealWidth(28 - 24), + // Y = residenceManageView.Bottom, + // Width = Application.GetRealWidth(64 + 48), + // Height = Application.GetRealWidth(64), + //}; + //residenceInfoView.AddChidren(residenceDataBackupView); + //btnResidenceDataBackupIcon = new Button + //{ + // Gravity = Gravity.CenterHorizontal, + // Y = Application.GetRealHeight(5), + // Width = Application.GetMinRealAverage(30), + // Height = Application.GetMinRealAverage(30), + // UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", + //}; + //residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); + //btnResidenceDataBackupText = new Button() + //{ + // Y = btnResidenceManageIcon.Bottom, + // Height = Application.GetRealHeight(29), + // TextID = StringId.DataBackup, + // TextAlignment = TextAlignment.Center, + // TextColor = CSS_Color.FirstLevelTitleColor, + // TextSize = CSS_FontSize.PromptFontSize_FirstLevel + //}; + //residenceDataBackupView.AddChidren(btnResidenceDataBackupText); #endregion #region ---杈呭姪鍔熻兘鍖哄煙 residenceAuxiliaryFunctionView = new FrameLayout() { - X = residenceDataBackupView.Right, + X = Application.GetRealWidth(28 - 24), + //X = residenceDataBackupView.Right, Y = residenceManageView.Bottom, Width = Application.GetRealWidth(64 + 48), Height = Application.GetRealWidth(64), @@ -547,39 +548,39 @@ residenceArmView.AddChidren(btnResidenceArmText); #endregion #region ---鏁版嵁澶囦唤鍖哄煙 - residenceDataBackupView = new FrameLayout() - { - X = residenceArmView.Right, - Y = Application.GetRealHeight(68), - Width = Application.GetRealWidth(64 + 48), - Height = Application.GetRealWidth(64), - }; - residenceInfoView.AddChidren(residenceDataBackupView); - btnResidenceDataBackupIcon = new Button - { - Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(5), - Width = Application.GetMinRealAverage(30), - Height = Application.GetMinRealAverage(30), - UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", - }; - residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); - btnResidenceDataBackupText = new Button() - { - Y = btnResidenceDataBackupIcon.Bottom, - Height = Application.GetRealHeight(29), - TextID = StringId.DataBackup, - TextAlignment = TextAlignment.Center, - TextColor = CSS_Color.FirstLevelTitleColor, - TextSize = CSS_FontSize.PromptFontSize_FirstLevel - }; - residenceDataBackupView.AddChidren(btnResidenceDataBackupText); + //residenceDataBackupView = new FrameLayout() + //{ + // X = residenceArmView.Right, + // Y = Application.GetRealHeight(68), + // Width = Application.GetRealWidth(64 + 48), + // Height = Application.GetRealWidth(64), + //}; + //residenceInfoView.AddChidren(residenceDataBackupView); + //btnResidenceDataBackupIcon = new Button + //{ + // Gravity = Gravity.CenterHorizontal, + // Y = Application.GetRealHeight(5), + // Width = Application.GetMinRealAverage(30), + // Height = Application.GetMinRealAverage(30), + // UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", + //}; + //residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); + //btnResidenceDataBackupText = new Button() + //{ + // Y = btnResidenceDataBackupIcon.Bottom, + // Height = Application.GetRealHeight(29), + // TextID = StringId.DataBackup, + // TextAlignment = TextAlignment.Center, + // TextColor = CSS_Color.FirstLevelTitleColor, + // TextSize = CSS_FontSize.PromptFontSize_FirstLevel + //}; + //residenceDataBackupView.AddChidren(btnResidenceDataBackupText); #endregion #region ---杈呭姪鍔熻兘鍖哄煙 residenceAuxiliaryFunctionView = new FrameLayout() { - X = residenceDataBackupView.Right, + X = residenceArmView.Right, Y = Application.GetRealHeight(68), Width = Application.GetRealWidth(64 + 48), Height = Application.GetRealWidth(64), -- Gitblit v1.8.0