From 3292b5b7fe6c14476df002d78bf186e80f2aab08 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 18 五月 2020 09:30:30 +0800
Subject: [PATCH] 2020-05-28-1
---
ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs | 70 +++++++++++++++++-----------------
1 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs
index 155b93b..49d8a27 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs
@@ -157,7 +157,7 @@
var btnRinght = rowLimit.AddMostRightEmptyIcon(58, 58);
rowLimit.ChangedChidrenBindMode(btnRinght, ChidrenBindMode.NotBind);
btnRinght.UseClickStatu = false;
- btnRinght.UnSelectedImagePath = "Item/Next.png";
+ btnRinght.UnSelectedImagePath = "Item/RightNext.png";
btnRinght.SelectedImagePath = "Item/Down.png";
btnRinght.IsSelected = true;
btnRinght.ButtonClickEvent += (sender, e) =>
@@ -185,44 +185,44 @@
var frameIcon = new FrameLayout();
frameIcon.X = Application.GetRealWidth(228);
frameIcon.Y = Application.GetRealHeight(121);
- frameIcon.Width = Application.GetMinRealAverage(265);
- frameIcon.Height= Application.GetMinRealAverage(495);
+ frameIcon.Width = this.GetPictrueRealSize(265);
+ frameIcon.Height= this.GetPictrueRealSize(495);
frameIcon.BackgroundImagePath = "Item/DeviceLimitGround.png";
frameBack.AddChidren(frameIcon);
- var frameIconback = new FrameLayoutControl();
- frameIconback.Height = Application.GetMinRealAverage(144);
- frameIconback.Width = Application.GetMinRealAverage(144);
- frameIconback.Radius = (uint)Application.GetMinRealAverage(144) / 2;
+ var frameIconback = new FrameLayoutStatuControl();
+ frameIconback.Height = this.GetPictrueRealSize(144);
+ frameIconback.Width = this.GetPictrueRealSize(144);
+ frameIconback.Radius = (uint)this.GetPictrueRealSize(144) / 2;
frameIconback.BackgroundColor = 0xffeff2fb;
frameIconback.Gravity = Gravity.CenterHorizontal;
- frameIconback.Y = Application.GetMinRealAverage(35);
+ frameIconback.Y = this.GetPictrueRealSize(35);
frameIcon.AddChidren(frameIconback);
- var btnIcon = new NormalViewControl(Application.GetMinRealAverage(69), Application.GetMinRealAverage(35), false);
+ var btnIcon = new NormalViewControl(this.GetPictrueRealSize(69), this.GetPictrueRealSize(35), false);
btnIcon.UnSelectedImagePath = "Item/DownTriangle.png";
btnIcon.Gravity = Gravity.Center;
frameIconback.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
- var frameText = new FrameLayoutControl();
- frameText.Y= Application.GetMinRealAverage(265);
- frameText.Height = Application.GetMinRealAverage(120);
+ var frameText = new FrameLayoutStatuControl();
+ frameText.Y= this.GetPictrueRealSize(265);
+ frameText.Height = this.GetPictrueRealSize(120);
frameIcon.AddChidren(frameText);
//纭畾
- var btnOk = new NormalViewControl(frameIcon.Width, Application.GetMinRealAverage(60), false);
+ var btnOk = new NormalViewControl(frameIcon.Width, this.GetPictrueRealSize(60), false);
btnOk.TextID = R.MyInternationalizationString.uConfirm1;
btnOk.TextAlignment = TextAlignment.Center;
btnOk.TextColor = UserCenterColor.Current.TextOrangeColor;
frameText.AddChidren(btnOk, ChidrenBindMode.BindEventOnly);
//搴曠嚎
- var btnLine1 = new NormalViewControl(Application.GetMinRealAverage(100), ControlCommonResourse.BottomLineHeight, false);
+ var btnLine1 = new NormalViewControl(this.GetPictrueRealSize(100), ControlCommonResourse.BottomLineHeight, false);
btnLine1.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
btnLine1.Gravity = Gravity.CenterHorizontal;
- btnLine1.Y = btnOk.Bottom - Application.GetMinRealAverage(8);
+ btnLine1.Y = btnOk.Bottom - this.GetPictrueRealSize(8);
frameText.AddChidren(btnLine1);
//涓嬮檺浣�
- var btnDown = new NormalViewControl(frameIcon.Width, Application.GetMinRealAverage(60), false);
+ var btnDown = new NormalViewControl(frameIcon.Width, this.GetPictrueRealSize(60), false);
btnDown.TextID = R.MyInternationalizationString.uDownLimit;
btnDown.Y = btnOk.Bottom;
btnDown.TextAlignment = TextAlignment.Center;
@@ -230,10 +230,10 @@
frameText.AddChidren(btnDown, ChidrenBindMode.BindEventOnly);
//搴曠嚎
- var btnLine2 = new NormalViewControl(Application.GetMinRealAverage(124), ControlCommonResourse.BottomLineHeight, false);
+ var btnLine2 = new NormalViewControl(this.GetPictrueRealSize(124), ControlCommonResourse.BottomLineHeight, false);
btnLine2.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
btnLine2.Gravity = Gravity.CenterHorizontal;
- btnLine2.Y = btnDown.Bottom - Application.GetMinRealAverage(8);
+ btnLine2.Y = btnDown.Bottom - this.GetPictrueRealSize(8);
frameText.AddChidren(btnLine2);
//鍥炬爣鐐瑰嚮
@@ -294,44 +294,44 @@
var frameIcon = new FrameLayout();
frameIcon.X = Application.GetRealWidth(619);
frameIcon.Y = Application.GetRealHeight(121);
- frameIcon.Width = Application.GetMinRealAverage(265);
- frameIcon.Height = Application.GetMinRealAverage(495);
+ frameIcon.Width = this.GetPictrueRealSize(265);
+ frameIcon.Height = this.GetPictrueRealSize(495);
frameIcon.BackgroundImagePath = "Item/DeviceLimitGround.png";
frameBack.AddChidren(frameIcon);
- var frameIconback = new FrameLayoutControl();
- frameIconback.Height = Application.GetMinRealAverage(144);
- frameIconback.Width = Application.GetMinRealAverage(144);
- frameIconback.Radius = (uint)Application.GetMinRealAverage(144) / 2;
+ var frameIconback = new FrameLayoutStatuControl();
+ frameIconback.Height = this.GetPictrueRealSize(144);
+ frameIconback.Width = this.GetPictrueRealSize(144);
+ frameIconback.Radius = (uint)this.GetPictrueRealSize(144) / 2;
frameIconback.BackgroundColor = 0xffeff2fb;
frameIconback.Gravity = Gravity.CenterHorizontal;
- frameIconback.Y = Application.GetMinRealAverage(35);
+ frameIconback.Y = this.GetPictrueRealSize(35);
frameIcon.AddChidren(frameIconback);
- var btnIcon = new NormalViewControl(Application.GetMinRealAverage(69), Application.GetMinRealAverage(35), false);
+ var btnIcon = new NormalViewControl(this.GetPictrueRealSize(69), this.GetPictrueRealSize(35), false);
btnIcon.UnSelectedImagePath = "Item/UpTriangle.png";
btnIcon.Gravity = Gravity.Center;
frameIconback.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
- var frameText = new FrameLayoutControl();
- frameText.Y = Application.GetMinRealAverage(265);
- frameText.Height = Application.GetMinRealAverage(120);
+ var frameText = new FrameLayoutStatuControl();
+ frameText.Y = this.GetPictrueRealSize(265);
+ frameText.Height = this.GetPictrueRealSize(120);
frameIcon.AddChidren(frameText);
//纭畾
- var btnOk = new NormalViewControl(frameIcon.Width, Application.GetMinRealAverage(60), false);
+ var btnOk = new NormalViewControl(frameIcon.Width, this.GetPictrueRealSize(60), false);
btnOk.TextID = R.MyInternationalizationString.uConfirm1;
btnOk.TextAlignment = TextAlignment.Center;
btnOk.TextColor = UserCenterColor.Current.TextOrangeColor;
frameText.AddChidren(btnOk, ChidrenBindMode.BindEventOnly);
//搴曠嚎
- var btnLine1 = new NormalViewControl(Application.GetMinRealAverage(100), ControlCommonResourse.BottomLineHeight, false);
+ var btnLine1 = new NormalViewControl(this.GetPictrueRealSize(100), ControlCommonResourse.BottomLineHeight, false);
btnLine1.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
btnLine1.Gravity = Gravity.CenterHorizontal;
- btnLine1.Y = btnOk.Bottom - Application.GetMinRealAverage(8);
+ btnLine1.Y = btnOk.Bottom - this.GetPictrueRealSize(8);
frameText.AddChidren(btnLine1);
//涓婇檺浣�
- var btnDown = new NormalViewControl(frameIcon.Width, Application.GetMinRealAverage(60), false);
+ var btnDown = new NormalViewControl(frameIcon.Width, this.GetPictrueRealSize(60), false);
btnDown.TextID = R.MyInternationalizationString.uUpLimit;
btnDown.Y = btnOk.Bottom;
btnDown.TextAlignment = TextAlignment.Center;
@@ -339,10 +339,10 @@
frameText.AddChidren(btnDown, ChidrenBindMode.BindEventOnly);
//搴曠嚎
- var btnLine2 = new NormalViewControl(Application.GetMinRealAverage(124), ControlCommonResourse.BottomLineHeight, false);
+ var btnLine2 = new NormalViewControl(this.GetPictrueRealSize(124), ControlCommonResourse.BottomLineHeight, false);
btnLine2.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
btnLine2.Gravity = Gravity.CenterHorizontal;
- btnLine2.Y = btnDown.Bottom - Application.GetMinRealAverage(8);
+ btnLine2.Y = btnDown.Bottom - this.GetPictrueRealSize(8);
frameText.AddChidren(btnLine2);
//鍥炬爣鐐瑰嚮
--
Gitblit v1.8.0