From 71993d3611c008aed7013ff9f664e404f084507f Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 24 十二月 2020 23:15:26 +0800
Subject: [PATCH] 色温灯异常跳动问题
---
HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs | 49 +++++++++++++++++++++++--------------------------
1 files changed, 23 insertions(+), 26 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs
index ea908e1..a1e1540 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs
@@ -10,35 +10,32 @@
/// </summary>
public class ComplaintsPage : FrameLayout
{
+ /// <summary>
+ ///
+ /// </summary>
FrameLayout bodyView;
/// <summary>
- /// 褰撳墠
+ ///
/// </summary>
- VerticalScrolViewLayout bodyScrolView;
-
public ComplaintsPage()
{
bodyView = this;
+ BackgroundColor = CSS_Color.MainBackgroundColor;
}
+ /// <summary>
+ ///
+ /// </summary>
public void LoadPage()
{
new TopViewDiv(bodyView, Language.StringByID(StringId.Complaints)).LoadTopView();
-
- int bodyY = Application.GetRealHeight(64);
- bodyScrolView = new VerticalScrolViewLayout()
- {
- Y = bodyY,
- Height = bodyView.Height - bodyY,
- BackgroundColor = CSS_Color.MainBackgroundColor,
- };
#region 鎶曡瘔鑱旂郴
FrameLayout phoneRow = new FrameLayout()
{
Y = Application.GetRealHeight(64),
- Height = Application.GetRealHeight(50),
+ Height = Application.GetRealWidth(50),
};
bodyView.AddChidren(phoneRow);
@@ -56,7 +53,7 @@
Button btnPhoneText = new Button()
{
X = btnPhoneTitle.Right,
- Width = Application.GetRealWidth(200),
+ Width = Application.GetRealWidth(266),
TextAlignment = TextAlignment.CenterLeft,
TextSize = CSS_FontSize.TextFontSize,
TextColor = CSS_Color.FirstLevelTitleColor,
@@ -68,10 +65,10 @@
/// </summary>
var btnImage = new Button()
{
- X = Application.GetRealWidth(339),
+ X = Application.GetRealWidth(343),
Gravity = Gravity.CenterVertical,
- Width = Application.GetMinRealAverage(16),
- Height = Application.GetMinRealAverage(16),
+ Width = Application.GetRealWidth(16),
+ Height = Application.GetRealWidth(16),
UnSelectedImagePath = "Public/Right.png",
};
phoneRow.AddChidren(btnImage);
@@ -91,7 +88,7 @@
FrameLayout emailRow = new FrameLayout()
{
Y = phoneRow.Bottom,
- Height = Application.GetRealHeight(54),
+ Height = Application.GetRealWidth(54),
};
bodyView.AddChidren(emailRow);
@@ -109,9 +106,9 @@
Button btnEmailText = new Button()
{
X = btnEmailTitle.Right,
- Y = Application.GetRealHeight(8),
- Height = Application.GetRealHeight(20),
- Width = Application.GetRealWidth(200),
+ Y = Application.GetRealWidth(8),
+ Height = Application.GetRealWidth(20),
+ Width = Application.GetRealWidth(266),
TextAlignment = TextAlignment.CenterLeft,
TextSize = CSS_FontSize.TextFontSize,
TextColor = CSS_Color.FirstLevelTitleColor,
@@ -122,9 +119,9 @@
Button btnEmailTipText = new Button()
{
X = btnEmailTitle.Right,
- Y = btnEmailText.Bottom + Application.GetRealHeight(4),
- Height = Application.GetRealHeight(20),
- Width = Application.GetRealWidth(200),
+ Y = btnEmailText.Bottom + Application.GetRealWidth(4),
+ Height = Application.GetRealWidth(20),
+ Width = Application.GetRealWidth(266),
TextAlignment = TextAlignment.TopLeft,
TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel,
TextColor = CSS_Color.PromptingColor1,
@@ -136,10 +133,10 @@
/// </summary>
var btnImage2 = new Button()
{
- X = Application.GetRealWidth(339),
+ X = Application.GetRealWidth(343),
Gravity = Gravity.CenterVertical,
- Width = Application.GetMinRealAverage(16),
- Height = Application.GetMinRealAverage(16),
+ Width = Application.GetRealWidth(16),
+ Height = Application.GetRealWidth(16),
UnSelectedImagePath = "Public/Right.png",
};
emailRow.AddChidren(btnImage2);
--
Gitblit v1.8.0