| | |
| | | |
| | | floorBtn = new Button |
| | | { |
| | | X = floor.Right, |
| | | Width = Application.GetRealWidth(500), |
| | | Height = Application.GetRealHeight(100), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | if(Config.Instance.Home.FloorDics.Count>0) |
| | | { |
| | | topFrameLayout.AddChidren(floor); |
| | | floorBtn.X = floor.Right; |
| | | topFrameLayout.AddChidren(floorBtn); |
| | | } |
| | | |
| | | |
| | | var messageBtn = new Button() |
| | | { |
| | |
| | | { |
| | | 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 |
| | | }; |