| | |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Item/Floor.png" |
| | | }; |
| | | topFrameLayout.AddChidren(floor); |
| | | |
| | | floorBtn = new Button |
| | | { |
| | |
| | | TextColor = ZigbeeColor.Current.GXCTextColor, |
| | | Text = Config.Instance.Home.GetCurrentFloorName |
| | | }; |
| | | topFrameLayout.AddChidren(floorBtn); |
| | | |
| | | if(Config.Instance.Home.FloorDics.Count>0) |
| | | { |
| | | topFrameLayout.AddChidren(floor); |
| | | topFrameLayout.AddChidren(floorBtn); |
| | | } |
| | | |
| | | |
| | | var messageBtn = new Button() |
| | | { |
| | |
| | | }; |
| | | AddChidren(roomPageView); |
| | | //与屏幕边框的边距 |
| | | roomPageView.RowPadding = Application.GetRealWidth(181); |
| | | roomPageView.TCBJ = Application.GetRealWidth(181); |
| | | //两个page之间的间距 |
| | | roomPageView.PagePadding = Application.GetRealWidth(69); |
| | | roomPageView.JMBJ = Application.GetRealWidth(69); |
| | | |
| | | //当前房间 |
| | | //Room.CurrentRoom = Room.CurrentRoom == null ? Room.Lists[0] : Room.CurrentRoom; |