From 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 01 九月 2020 15:22:09 +0800
Subject: [PATCH] 2020-09-01

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs |   37 ++++++++++++++++---------------------
 1 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index eeb84d1..57dd341 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -547,37 +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()
             {
@@ -612,15 +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,
-                AnimateSpeed = 0.3f,
-                Animate = Animate.DownToUp,
+                TextSize = CSS_FontSize.SubheadingFontSize,
             };
             pictureOptionView.AddChidren(btnCancel);
 
-            LoadEvent_PictureOptionViewEventList();
+            LoadEvent_PictureOptionViewEventList(pictureBaseView);
         }
     }
 }

--
Gitblit v1.8.0