| | |
| | | /// <summary> |
| | | /// SceneIcon |
| | | /// </summary> |
| | | public Button SceneIcon; |
| | | public ImageView SceneIcon; |
| | | /// <summary> |
| | | /// statu |
| | | /// </summary> |
| | |
| | | }; |
| | | AddChidren(CardBG); |
| | | |
| | | SceneIcon = new Button |
| | | SceneIcon = new ImageView |
| | | { |
| | | X = Application.GetMinRealAverage(14), |
| | | Width = Application.GetMinRealAverage(458), |
| | | Height = Application.GetRealHeight(305), |
| | | Gravity = Gravity.CenterHorizontal |
| | | Height = Application.GetMinRealAverage(305), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | }; |
| | | AddChidren(SceneIcon); |
| | | SceneIcon.SetViewShadow(true); |
| | | |
| | | SceneIcon.SetCornerWithSameRadius(Application.GetRealHeight(100), HDLUtils.RectCornerBottomRight); |
| | | |
| | | //sceneBG = new Button |
| | | //{ |
| | |
| | | { |
| | | if (scene.IconPathType == 0) |
| | | { |
| | | SceneIcon.UnSelectedImagePath = iconPath; |
| | | SceneIcon.ImagePath = iconPath; |
| | | } |
| | | else |
| | | { |
| | | SceneIcon.UnSelectedImagePath = System.IO.Path.Combine(Config.Instance.FullPath, iconPath); |
| | | SceneIcon.ImagePath = System.IO.Path.Combine(Config.Instance.FullPath, iconPath); |
| | | } |
| | | } |
| | | |