| | |
| | | var btnAddFrameLayout = new FrameLayout |
| | | { |
| | | X = Application.GetRealWidth(830), |
| | | Width = Application.GetRealWidth(200), |
| | | }; |
| | | this.titleFrameLayout.AddChidren(btnAddFrameLayout); |
| | | |
| | |
| | | { |
| | | SideslipFramelayout(); |
| | | }; |
| | | if (Common.Config.Instance.Home.FloorDics.Count == 0) |
| | | { |
| | | btnAddFrameLayout.Width = 0; |
| | | } |
| | | else |
| | | { |
| | | btnAddFrameLayout.Width = Application.GetRealWidth(200); |
| | | } |
| | | MidFrameLayoutContent(btnFloorText); |
| | | } |
| | | |
| | |
| | | Shared.Common.Room curRoom = roomList[0]; |
| | | int index = 0; |
| | | RefreshRoomList(curRoom, ref index); |
| | | RefreshSceneList(roomList[index]); |
| | | //RefreshSceneList(roomList[index]); |
| | | |
| | | if (curRoom.SceneUIList.Count == 0) |
| | | { |
| | |
| | | Y = Application.GetMinRealAverage(46), |
| | | Width = Application.GetMinRealAverage(81), |
| | | Height = Application.GetMinRealAverage(81), |
| | | UnSelectedImagePath = "Scene/SceneIcon.png"
|
| | | }; |
| | | UnSelectedImagePath = "Scene/SceneIcon.png",// scene.IconPath,
|
| | | }; |
| | | rowLayout.AddChidren(devicePic); |
| | | |
| | | var btnBindName = new Button() |