| | |
| | | /// <summary> |
| | | /// SceneIcon |
| | | /// </summary> |
| | | public Button Icon; |
| | | public ImageView Icon; |
| | | /// <summary> |
| | | /// RoomNameButton |
| | | /// </summary> |
| | |
| | | }; |
| | | AddChidren(CardBG); |
| | | |
| | | Icon = new Button |
| | | Icon = new ImageView |
| | | { |
| | | X = Application.GetMinRealAverage(14), |
| | | Width = Application.GetMinRealAverage(467), |
| | |
| | | X = Application.GetMinRealAverage(14), |
| | | Width = Application.GetMinRealAverage(141), |
| | | Height = Application.GetMinRealAverage(84), |
| | | TextColor = ZigbeeColor.Current.GXCTextWhiteColor |
| | | TextColor = ZigbeeColor.Current.GXCTextWhiteColor, |
| | | TextSize=14, |
| | | IsBold=true |
| | | }; |
| | | AddChidren(RoomNameButton); |
| | | } |
| | |
| | | /// <param name="imagePath"></param> |
| | | public void SetRoomIcon(string imagePath) |
| | | { |
| | | Icon.UnSelectedImagePath = imagePath; |
| | | Icon.ImagePath = imagePath; |
| | | } |
| | | |
| | | |