HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-02-21 bd46c57c77c276014db3192a4e2cc96e23c93202
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs
@@ -17,7 +17,7 @@
        public ScenePictrueControl()
        {
            this.UseClickStatu = false;
            this.Height = Application.GetRealHeight(470);
            this.Height = Application.GetRealHeight(440);
        }
        /// <summary>
@@ -30,7 +30,7 @@
            var btnPic = new ImageView();
            btnPic.X = Application.GetRealWidth(179);
            btnPic.Width = Application.GetRealWidth(844);
            btnPic.Height = Application.GetRealHeight(420);
            btnPic.Height = Application.GetRealHeight(397);
            if (sceneUI.IconPathType == 0)
            {
                btnPic.ImagePath = sceneUI.IconPath;
@@ -42,14 +42,11 @@
            btnPic.Radius = (uint)Application.GetRealHeight(17);
            this.AddChidren(btnPic, ChidrenBindMode.NotBind);
            //它的上面有一层阴影
            var frameBack = new FrameLayout();
            frameBack.Width = btnPic.Width;
            frameBack.Height = btnPic.Height;
            frameBack.X = btnPic.X;
            frameBack.BackgroundColor = 0x40000000;
            frameBack.Radius = (uint)Application.GetRealHeight(17);
            this.AddChidren(frameBack, ChidrenBindMode.BindEventOnly);
            //阴影
            var btnShadow = new PicViewControl(btnPic.Width + Application.GetRealWidth(14 * 2), btnPic.Height + Application.GetRealHeight(43), false);
            btnShadow.X = btnPic.X - Application.GetRealWidth(14);
            btnShadow.UnSelectedImagePath = "Scene/SceneShadow.png";
            this.AddChidren(btnShadow, ChidrenBindMode.BindEventOnly);
            var btnName = new NormalViewControl(251, 282, true);
            btnName.IsMoreLines = true;