| | |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Item/Floor.png" |
| | | }; |
| | | if (Config.Instance.Home.FloorDics.Count > 0) |
| | | { |
| | | topFrameLayout.AddChidren(floor); |
| | | } |
| | | |
| | | floorBtn = new Button |
| | | { |
| | |
| | | TextColor = ZigbeeColor.Current.GXCTextColor, |
| | | Text = Config.Instance.Home.GetCurrentFloorName |
| | | }; |
| | | |
| | | if(Config.Instance.Home.FloorDics.Count>0) |
| | | if (Config.Instance.Home.FloorDics.Count > 0) |
| | | { |
| | | topFrameLayout.AddChidren(floor); |
| | | topFrameLayout.AddChidren(floorBtn); |
| | | } |
| | | |
| | | |
| | | var messageBtn = new Button() |
| | | { |
| | |
| | | }; |
| | | AddChidren(roomPageView); |
| | | //与屏幕边框的边距 |
| | | roomPageView.TCBJ = Application.GetRealWidth(181); |
| | | roomPageView.TCBJ = Application.GetRealWidth(112); |
| | | //两个page之间的间距 |
| | | roomPageView.JMBJ = Application.GetRealWidth(69); |
| | | |
| | |
| | | { |
| | | Y = noFunction.Bottom, |
| | | Height = Application.GetRealHeight(200), |
| | | Text = Language.StringByID(R.MyInternationalizationString.NoFunction).Replace("{\\r\\n}", "\r\n"), |
| | | Text = Language.StringByID(R.MyInternationalizationString.NoFunction_Tip).Replace("{\\r\\n}", "\r\n"), |
| | | TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor, |
| | | IsMoreLines = true |
| | | }; |
| | |
| | | { |
| | | Y = noScene.Bottom, |
| | | Height = Application.GetRealHeight(200), |
| | | Text = Language.StringByID(R.MyInternationalizationString.NoScene).Replace("{\\r\\n}", "\r\n"), |
| | | Text = Language.StringByID(R.MyInternationalizationString.NoScene_Tip).Replace("{\\r\\n}", "\r\n"), |
| | | TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor, |
| | | IsMoreLines = true |
| | | }; |