From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 16 十二月 2020 13:09:08 +0800
Subject: [PATCH] 新云端代码Ver1.2
---
ZigbeeApp/Shared/Phone/Common/Controls/FrameLayoutControls/FrameRowControl.cs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs b/ZigbeeApp/Shared/Phone/Common/Controls/FrameLayoutControls/FrameRowControl.cs
similarity index 93%
rename from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs
rename to ZigbeeApp/Shared/Phone/Common/Controls/FrameLayoutControls/FrameRowControl.cs
index 07f6d9e..94bbdba 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs
+++ b/ZigbeeApp/Shared/Phone/Common/Controls/FrameLayoutControls/FrameRowControl.cs
@@ -1,7 +1,7 @@
锘縰sing System;
using System.Collections.Generic;
-namespace Shared.Phone.UserCenter
+namespace Shared.Phone
{
/// <summary>
/// 鍋氭垚涓�涓猂owLayout鍨嬬殑FrameLayout
@@ -45,7 +45,7 @@
/// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(銆愬垪琛ㄦ帶浠剁殑rowSpace/2銆戝嵆鍙�,涓嶆噦榛樿涓�0鍗冲彲)</param>
public FrameRowControl(int i_ChidrenYaxis = 0) : base(i_ChidrenYaxis)
{
- this.Height = ControlCommonResourse.ListViewRowHeight;
+ this.Height = HdlControlResourse.ListViewRowHeight;
this.Width = Application.CurrentWidth;
}
@@ -64,16 +64,16 @@
//宸茬粡娣诲姞浜嗗簳绾�
return btnBottomLine;
}
- int lineWidth = this.Width - ControlCommonResourse.XXLeft * 2 - LeftOffset - RightOffset;
- int XX = ControlCommonResourse.XXLeft + LeftOffset;
+ int lineWidth = this.Width - HdlControlResourse.XXLeft * 2 - LeftOffset - RightOffset;
+ int XX = HdlControlResourse.XXLeft + LeftOffset;
if (leftIconSize > 0)
{
lineWidth = lineWidth - leftIconSize - Application.GetRealWidth(35);
XX = XX + leftIconSize + Application.GetRealWidth(35);
}
- this.btnBottomLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
+ this.btnBottomLine = new NormalViewControl(lineWidth, HdlControlResourse.BottomLineHeight, false);
btnBottomLine.X = XX;
- btnBottomLine.Y = this.Height - ControlCommonResourse.BottomLineHeight;
+ btnBottomLine.Y = this.Height - HdlControlResourse.BottomLineHeight;
btnBottomLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
base.AddChidren(btnBottomLine);
@@ -117,7 +117,7 @@
/// <returns></returns>
public NormalViewControl AddLeftCaption(string i_caption, int i_width, int i_height, bool real = true)
{
- int XX = ControlCommonResourse.XXLeft + LeftOffset;
+ int XX = HdlControlResourse.XXLeft + LeftOffset;
if (this.leftIconSize > 0)
{
XX += this.leftIconSize + Application.GetRealWidth(35);
@@ -147,7 +147,7 @@
{
i_width = Application.GetRealWidth(i_width);
}
- int XX = ControlCommonResourse.XXLeft + LeftOffset;
+ int XX = HdlControlResourse.XXLeft + LeftOffset;
if (this.leftIconSize > 0)
{
XX += this.leftIconSize + Application.GetRealWidth(35);
@@ -178,7 +178,7 @@
public IconViewControl AddLeftIcon(int i_Iconsize = 81, string i_IconPath = null)
{
var btnIcon = new IconViewControl(i_Iconsize);
- btnIcon.X = ControlCommonResourse.XXLeft + LeftOffset;
+ btnIcon.X = HdlControlResourse.XXLeft + LeftOffset;
btnIcon.Gravity = Gravity.CenterVertical;
if (i_IconPath != null)
{
@@ -205,7 +205,7 @@
{
var btnRight = new IconViewControl(58);
btnRight.Gravity = Gravity.CenterVertical;
- btnRight.X =this.Width - btnRight.IconSize - ControlCommonResourse.XXLeft + RightOffset;
+ btnRight.X =this.Width - btnRight.IconSize - HdlControlResourse.XXLeft + RightOffset;
btnRight.UnSelectedImagePath = "Item/RightNext.png";
this.AddChidren(btnRight, ChidrenBindMode.BindEvent);
@@ -308,7 +308,7 @@
i_height = Application.GetRealHeight(i_height);
}
var btnContr = new NormalViewControl(i_width, i_height, false);
- btnContr.X = this.Width - ControlCommonResourse.XXLeft - i_width - rightIconSize + RightOffset;
+ btnContr.X = this.Width - HdlControlResourse.XXLeft - i_width - rightIconSize + RightOffset;
btnContr.Height = i_height;
btnContr.TextAlignment = TextAlignment.CenterRight;
btnContr.TextColor = UserCenterColor.Current.TextGrayColor1;
--
Gitblit v1.8.0