| | |
| | | }; |
| | | residenceNameRow.AddChidren(btnEditResidenceNameIcon); |
| | | |
| | | #endregion |
| | | #if stage2 |
| | | residenceNameRow.AddChidren( |
| | | new Button() |
| | | { |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | #endregion |
| | | |
| | | #region 住宅地址 |
| | | var residenceAddressRow = new FrameLayout() |
| | | { |
| | | Y = residenceNameRow.Bottom, |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(residenceAddressRow); |
| | | var residenceAddressRow = new FrameLayout() |
| | | { |
| | | Y = residenceNameRow.Bottom, |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(residenceAddressRow); |
| | | |
| | | var btnResidenceAddressTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(78), |
| | | TextID = StringId.ResidenceAddress, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddressTitle); |
| | | var btnResidenceAddressTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(78), |
| | | TextID = StringId.ResidenceAddress, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddressTitle); |
| | | |
| | | btnLocationAddressIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(333), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/LocationAddressIcon.png", |
| | | }; |
| | | residenceAddressRow.AddChidren(btnLocationAddressIcon); |
| | | btnLocationAddressIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(333), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/LocationAddressIcon.png", |
| | | }; |
| | | residenceAddressRow.AddChidren(btnLocationAddressIcon); |
| | | |
| | | btnResidenceAddress = new Button() |
| | | { |
| | | X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, |
| | | Width = Application.GetRealWidth(200), |
| | | Text = DB_ResidenceData.residenceData.residecenInfo.Address, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddress); |
| | | btnResidenceAddress = new Button() |
| | | { |
| | | X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, |
| | | Width = Application.GetRealWidth(200), |
| | | Text = DB_ResidenceData.residenceData.residecenInfo.Address, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddress); |
| | | #endregion |
| | | |
| | | #endif |
| | | #region 楼层管理 |
| | | floorManagementRow = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(8) + residenceAddressRow.Bottom, |
| | | Y = Application.GetRealHeight(8) + residenceNameRow.Bottom,// residenceAddressRow.Bottom, |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 房间管理 |
| | | #region 房间管理 |
| | | roomManagementRow = new FrameLayout() |
| | | { |
| | | Y = floorManagementRow.Bottom, |
| | |
| | | UnSelectedImagePath = "Public/RightIcon.png", |
| | | }; |
| | | roomManagementRow.AddChidren(btnRoomManagementSkinIcon); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 管理员权限迁移 |
| | | #region 管理员权限迁移 |
| | | FrameLayout administratorPermissionMigrationRow; |
| | | administratorPermissionMigrationRow = new FrameLayout() |
| | | { |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 过户 |
| | | #region 过户 |
| | | FrameLayout transferRow; |
| | | transferRow = new FrameLayout() |
| | | { |
| | |
| | | UnSelectedImagePath = "Public/RightIcon.png", |
| | | }; |
| | | transferRow.AddChidren(btnTrasferSkinIcon); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 调试权限 |
| | | #region 调试权限 |
| | | FrameLayout commissioningAuthorityRow; |
| | | commissioningAuthorityRow = new FrameLayout() |
| | | { |
| | |
| | | }; |
| | | commissioningAuthorityRow.AddChidren(btnCommissioningAuthoritySwitchIcon); |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | |
| | | LoadEventList(); |