From d21ef6135c295e9bfa5ac7c0858ef55f5627479c Mon Sep 17 00:00:00 2001
From: Tong <1025782220@qq.com>
Date: 星期二, 31 八月 2021 10:04:05 +0800
Subject: [PATCH] 修改全局秘钥
---
HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs | 54 +++++++++++++++++++++++++++++++-----------------------
1 files changed, 31 insertions(+), 23 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs
index 3ea9a33..dcc83fb 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs
@@ -10,36 +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);
@@ -53,6 +49,10 @@
TextColor = CSS_Color.FirstLevelTitleColor,
};
phoneRow.AddChidren(btnPhoneTitle);
+ if(Language.CurrentLanguage == "English")
+ {
+ btnPhoneTitle.Text = "Tel.:";
+ }
Button btnPhoneText = new Button()
{
@@ -69,10 +69,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);
@@ -92,7 +92,7 @@
FrameLayout emailRow = new FrameLayout()
{
Y = phoneRow.Bottom,
- Height = Application.GetRealHeight(54),
+ Height = Application.GetRealWidth(54),
};
bodyView.AddChidren(emailRow);
@@ -110,8 +110,8 @@
Button btnEmailText = new Button()
{
X = btnEmailTitle.Right,
- Y = Application.GetRealHeight(8),
- Height = Application.GetRealHeight(20),
+ Y = Application.GetRealWidth(8),
+ Height = Application.GetRealWidth(20),
Width = Application.GetRealWidth(266),
TextAlignment = TextAlignment.CenterLeft,
TextSize = CSS_FontSize.TextFontSize,
@@ -123,8 +123,8 @@
Button btnEmailTipText = new Button()
{
X = btnEmailTitle.Right,
- Y = btnEmailText.Bottom + Application.GetRealHeight(4),
- Height = Application.GetRealHeight(20),
+ Y = btnEmailText.Bottom + Application.GetRealWidth(4),
+ Height = Application.GetRealWidth(20),
Width = Application.GetRealWidth(266),
TextAlignment = TextAlignment.TopLeft,
TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel,
@@ -132,15 +132,23 @@
TextID = StringId.WillGivePriorityToTheTreatmen,
};
emailRow.AddChidren(btnEmailTipText);
+
+ if (Language.CurrentLanguage == "English")
+ {
+ btnEmailTitle.Width = Application.GetRealWidth(80);
+ emailRow.Height = Application.GetRealWidth(65);
+ btnEmailTipText.IsMoreLines = true;
+ }
+
/// <summary>
/// 鍓嶈繘鍥炬爣
/// </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