From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/RowLayoutControl.cs | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/RowLayoutControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/RowLayoutControl.cs
index 8ac4d34..380731e 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/RowLayoutControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/RowLayoutControl.cs
@@ -62,5 +62,49 @@
}
#endregion
+
+ #region 鈻� 娣诲姞鍒犻櫎鎺т欢_______________________
+
+ /// <summary>
+ /// 娣诲姞鍒犻櫎鎺т欢
+ /// </summary>
+ /// <returns></returns>
+ public NormalViewControl AddDeleteControl()
+ {
+ //鍒犻櫎
+ var btnDelete = new NormalViewControl(Application.GetRealWidth(184), this.Height, false);
+ btnDelete.BackgroundColor = 0xfff75858;
+ btnDelete.TextSize = 12;
+ btnDelete.TextColor = UserCenterColor.Current.White;
+ btnDelete.TextAlignment = TextAlignment.Center;
+ btnDelete.TextID = R.MyInternationalizationString.uDelete;
+ this.AddRightView(btnDelete);
+
+ return btnDelete;
+ }
+
+ #endregion
+
+ #region 鈻� 娣诲姞缂栬緫鎺т欢_______________________
+
+ /// <summary>
+ /// 娣诲姞缂栬緫鎺т欢
+ /// </summary>
+ /// <returns></returns>
+ public NormalViewControl AddEditorControl()
+ {
+ var btnEditor = new NormalViewControl(Application.GetRealWidth(184), this.Height, false);
+ btnEditor.BackgroundColor = 0xff4a4a4a;
+ btnEditor.TextSize = 12;
+ btnEditor.TextColor = UserCenterColor.Current.White;
+ btnEditor.TextAlignment = TextAlignment.Center;
+ btnEditor.TextID = R.MyInternationalizationString.uEditor;
+ this.AddRightView(btnEditor);
+
+ return btnEditor;
+ }
+
+ #endregion
+
}
}
--
Gitblit v1.8.0