| | |
| | | /// </summary>
|
| | | public virtual void ShowFrom()
|
| | | {
|
| | | Phone.MainPage.ListRoomViewFrom.Instance.CanClick = false;
|
| | | Phone.MainPage.LeftListRoomViewFrom.Instance.CanClick = false;
|
| | |
|
| | | UserView.UserPage.Instance.AddChidren(this);
|
| | | this.BackgroundColor = Common.ZigbeeColor.Current.GXCGrayBackgroundColor;
|
| | |
| | | var btnHouseIcon = new IconViewControl(69);
|
| | | btnHouseIcon.UnSelectedImagePath = "Item/Floor.png";
|
| | | btnHouseIcon.Y = Application.GetRealHeight(86);
|
| | | btnHouseIcon.X = ControlCommonResourse.XXLeft;
|
| | | btnHouseIcon.X = HdlControlResourse.XXLeft;
|
| | | this.AddChidren(btnHouseIcon);
|
| | | //消息图标
|
| | | var btnMsg = new IconViewControl(69);
|
| | |
| | | //住宅名字
|
| | | this.btnHouse = new NormalViewControl(300, 95, true);
|
| | | btnHouse.TextSize = 24;
|
| | | btnHouse.X = ControlCommonResourse.XXLeft;
|
| | | btnHouse.X = HdlControlResourse.XXLeft;
|
| | | btnHouse.Y = Application.GetRealHeight(161);
|
| | | btnHouse.TextID = R.MyInternationalizationString.uMyResidence;
|
| | | this.AddChidren(btnHouse);
|
| | |
| | |
|
| | | //底部菜单
|
| | | var frameMenu = new FrameLayout();
|
| | | frameMenu.Height = ControlCommonResourse.BottomFrameHeight;
|
| | | frameMenu.Height = HdlControlResourse.BottomFrameHeight;
|
| | | frameMenu.Gravity = Gravity.BottomCenter;
|
| | | this.AddChidren(frameMenu);
|
| | | //线
|