From f49856cb0e1e9d95fe11bb64054a407f69943d16 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 30 十一月 2020 19:34:35 +0800
Subject: [PATCH] 2020-11-30-1
---
HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 38 ++++++++++++++++++--------------------
1 files changed, 18 insertions(+), 20 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index 4c1e868..57dd341 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -143,6 +143,7 @@
Button btnResetPasswordRight;
#endregion
#endregion
+
#endregion
#region 瑙i攣璁剧疆鍖哄煙
@@ -546,36 +547,33 @@
/// </summary>
void LoadPictureOptionView()
{
- pictureOptionView = new FrameLayout()
+ var pictureBaseView = new FrameLayout()
{
BackgroundColor = CSS_Color.DialogTransparentColor1,
+
};
- bodyView.AddChidren(pictureOptionView);
+ bodyView.AddChidren(pictureBaseView);
+
+ pictureOptionView = new FrameLayout()
+ {
+ Y = Application.GetRealHeight(495),
+ AnimateSpeed = 0.3f,
+ Animate = Animate.DownToUp,
+ Height = Application.GetRealHeight(200),
+ };
+ pictureBaseView.AddChidren(pictureOptionView);
+
optionView = new VerticalScrolViewLayout()
{
Gravity = Gravity.CenterHorizontal,
- Y = Application.GetRealHeight(495),
Width = Application.GetRealWidth(343),
Height = Application.GetRealHeight(100),
BackgroundColor = CSS_Color.MainBackgroundColor,
Radius = (uint)Application.GetRealWidth(12),
- AnimateSpeed = 0.3f,
- Animate = Animate.DownToUp,
+ ScrollEnabled = false,
};
pictureOptionView.AddChidren(optionView);
-
- //btnDefaultGallery = new Button()
- //{
- // Height = Application.GetRealHeight(50),
- // TextAlignment = TextAlignment.Center,
- // TextColor = CSS_Color.TextualColor,
- // SelectedTextColor = CSS_Color.MainColor,
- // TextSize = CSS_FontSize.SubheadingFontSize,
- // TextID = StringId.DefaultGallery,
- //};
- //optionView.AddChidren(btnDefaultGallery);
- //optionView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
btnTakePicture = new Button()
{
@@ -610,14 +608,14 @@
Width = Application.GetRealWidth(343),
Height = Application.GetRealHeight(50),
BackgroundColor = CSS_Color.MainBackgroundColor,
- Radius = (uint)Application.GetRealWidth(6),
+ Radius = (uint)Application.GetRealWidth(12),
TextID = StringId.Cancel,
TextColor = CSS_Color.WarningColor,
- Animate = Animate.DownToUp
+ TextSize = CSS_FontSize.SubheadingFontSize,
};
pictureOptionView.AddChidren(btnCancel);
- LoadEvent_PictureOptionViewEventList();
+ LoadEvent_PictureOptionViewEventList(pictureBaseView);
}
}
}
--
Gitblit v1.8.0