黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorTemperatureHumidityForm.cs
@@ -30,8 +30,8 @@
        {
            //图片
            var framePic = new FrameLayout();
            framePic.Width = Application.GetMinRealAverage(897);
            framePic.Height = Application.GetMinRealAverage(732);
            framePic.Width = this.GetPictrueRealSize(897);
            framePic.Height = this.GetPictrueRealSize(732);
            framePic.Gravity = Gravity.CenterHorizontal;
            framePic.Y = Application.GetRealHeight(130);
            bodyFrameLayout.AddChidren(framePic);
@@ -40,9 +40,9 @@
            framePic.AddChidren(btnPic);
            //信号图标快闪
            var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(455), Application.GetMinRealAverage(45), false);
            btnGreanLinght.X = Application.GetMinRealAverage(400);
            btnGreanLinght.Y = Application.GetMinRealAverage(295);
            var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(455), this.GetPictrueRealSize(45), false);
            btnGreanLinght.X = this.GetPictrueRealSize(400);
            btnGreanLinght.Y = this.GetPictrueRealSize(295);
            btnGreanLinght.TextAlignment = TextAlignment.Center;
            btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnGreanLinght.TextSize = 10;
@@ -50,9 +50,9 @@
            framePic.AddChidren(btnGreanLinght);
            //信号图标
            var btnLinght = new NormalViewControl(Application.GetMinRealAverage(250), Application.GetMinRealAverage(45), false);
            btnLinght.X = Application.GetMinRealAverage(505);
            btnLinght.Y = Application.GetMinRealAverage(602);
            var btnLinght = new NormalViewControl(this.GetPictrueRealSize(250), this.GetPictrueRealSize(45), false);
            btnLinght.X = this.GetPictrueRealSize(505);
            btnLinght.Y = this.GetPictrueRealSize(602);
            btnLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnLinght.TextSize = 10;
            btnLinght.TextID = R.MyInternationalizationString.uSignalIcon;
@@ -64,9 +64,9 @@
            {
                textMsg = string.Format(textMsg, "5");
            }
            var btnSecond = new NormalViewControl(Application.GetMinRealAverage(360), Application.GetMinRealAverage(45), false);
            btnSecond.X = Application.GetMinRealAverage(100);
            btnSecond.Y = Application.GetMinRealAverage(200);
            var btnSecond = new NormalViewControl(this.GetPictrueRealSize(360), this.GetPictrueRealSize(45), false);
            btnSecond.X = this.GetPictrueRealSize(100);
            btnSecond.Y = this.GetPictrueRealSize(200);
            btnSecond.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnSecond.TextSize = 10;
            btnSecond.Text = textMsg;