From a1b0ab7044100daaa7e0f1da2d2ca45e38098963 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 29 三月 2021 09:13:25 +0800
Subject: [PATCH] 2021-3-29-2
---
HDL_ON/UI/UI2/4-PersonalCenter/UnlockSetting/AppUnlockSettingsPage.cs | 212 ++++++++++++++++++++++++++++-------------------------
1 files changed, 112 insertions(+), 100 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/UnlockSetting/AppUnlockSettingsPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/UnlockSetting/AppUnlockSettingsPage.cs
index dc14851..72283d9 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/UnlockSetting/AppUnlockSettingsPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/UnlockSetting/AppUnlockSettingsPage.cs
@@ -46,33 +46,34 @@
/// </summary>
Button btnStartupBg;
-
- /// <summary>
- /// 璁剧疆瀹夐槻閫夐」鎻愮ず
- /// </summary>
- Button btnSecuritySelectionTip;
- /// <summary>
- /// 璁剧疆瀹夐槻閫夐」閫変腑鍥炬爣
- /// </summary>
- Button btnSecuritySelectionIcon;
- /// <summary>
- /// 璁剧疆瀹夐槻閫夐」鑳屾櫙
- /// </summary>
- Button btnSecurityBg;
+ #region F3闃舵
+ ///// <summary>
+ ///// 璁剧疆瀹夐槻閫夐」鎻愮ず
+ ///// </summary>
+ //Button btnSecuritySelectionTip;
+ ///// <summary>
+ ///// 璁剧疆瀹夐槻閫夐」閫変腑鍥炬爣
+ ///// </summary>
+ //Button btnSecuritySelectionIcon;
+ ///// <summary>
+ ///// 璁剧疆瀹夐槻閫夐」鑳屾櫙
+ ///// </summary>
+ //Button btnSecurityBg;
- /// <summary>
- /// 璁剧疆闂ㄩ攣閫夐」鎻愮ず
- /// </summary>
- Button btnDoorlockSelectionTip;
- /// <summary>
- /// 璁剧疆闂ㄩ攣閫夐」閫変腑鍥炬爣
- /// </summary>
- Button btnDoorlockSelectionIcon;
- /// <summary>
- /// 璁剧疆闂ㄩ攣閫夐」鑳屾櫙
- /// </summary>
- Button btnDoorlockBg;
+ ///// <summary>
+ ///// 璁剧疆闂ㄩ攣閫夐」鎻愮ず
+ ///// </summary>
+ //Button btnDoorlockSelectionTip;
+ ///// <summary>
+ ///// 璁剧疆闂ㄩ攣閫夐」閫変腑鍥炬爣
+ ///// </summary>
+ //Button btnDoorlockSelectionIcon;
+ ///// <summary>
+ ///// 璁剧疆闂ㄩ攣閫夐」鑳屾櫙
+ ///// </summary>
+ //Button btnDoorlockBg;
+ #endregion
/// <summary>
/// 瀵嗙爜浣跨敤閫夋嫨鐨勮缁嗗唴瀹规彁绀�
@@ -185,8 +186,13 @@
TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
BackgroundColor = CSS_Color.MainBackgroundColor,
TextID = StringId.MultipleChoicesOfPagesYouNeedToProtect,
+ IsMoreLines = true,
};
topContentView.AddChidren(btnTip2);
+ if(Language.CurrentLanguage == "Engligh")
+ {
+ btnTip2.Height = Application.GetRealHeight(30);
+ }
optionView = new HorizontalScrolViewLayout()
@@ -215,6 +221,11 @@
TextID = StringId.UnprotectedTipMsg,
};
topContentView.AddChidren(btnTipMsg);
+ if (Language.CurrentLanguage == "Engligh")
+ {
+ btnTip2.Height = Application.GetRealHeight(40);
+ topContentView.Height = Application.GetRealHeight(360);
+ }
LoadEventList();
@@ -312,92 +323,93 @@
startupDiv.AddChidren(btnStartupSelectionTip);
#endregion
-
+ #region F3闃舵
#region Security
- optionView.AddChidren(new Button() { Width = Application.GetRealWidth(16) });
+ //optionView.AddChidren(new Button() { Width = Application.GetRealWidth(16) });
- FrameLayout securityDiv = new FrameLayout()
- {
- Width = Application.GetRealWidth(94),
- };
- optionView.AddChidren(securityDiv);
+ //FrameLayout securityDiv = new FrameLayout()
+ //{
+ // Width = Application.GetRealWidth(94),
+ //};
+ //optionView.AddChidren(securityDiv);
- btnSecurityBg = new Button()
- {
- Height = Application.GetRealWidth(174),
- UnSelectedImagePath = "PersonalCenter/AppUnlockSetting/3.png",
- SelectedImagePath = "PersonalCenter/AppUnlockSetting/3On.png"
- };
- securityDiv.AddChidren(btnSecurityBg);
+ //btnSecurityBg = new Button()
+ //{
+ // Height = Application.GetRealWidth(174),
+ // UnSelectedImagePath = "PersonalCenter/AppUnlockSetting/3.png",
+ // SelectedImagePath = "PersonalCenter/AppUnlockSetting/3On.png"
+ //};
+ //securityDiv.AddChidren(btnSecurityBg);
- btnSecuritySelectionIcon = new Button()
- {
- X = Application.GetRealWidth(5),
- Y = Application.GetRealWidth(174),
- Width = Application.GetRealWidth(30),
- Height = Application.GetRealWidth(30),
- UnSelectedImagePath = "Public/ChooseIcon.png",
- SelectedImagePath = "Public/ChooseOnIcon.png",
- };
- securityDiv.AddChidren(btnSecuritySelectionIcon);
+ //btnSecuritySelectionIcon = new Button()
+ //{
+ // X = Application.GetRealWidth(5),
+ // Y = Application.GetRealWidth(174),
+ // Width = Application.GetRealWidth(30),
+ // Height = Application.GetRealWidth(30),
+ // UnSelectedImagePath = "Public/ChooseIcon.png",
+ // SelectedImagePath = "Public/ChooseOnIcon.png",
+ //};
+ //securityDiv.AddChidren(btnSecuritySelectionIcon);
- btnSecuritySelectionTip = new Button()
- {
- X = Application.GetRealWidth(30),
- Y = Application.GetRealWidth(174),
- Width = Application.GetRealWidth(74),
- Height = Application.GetRealWidth(30),
- TextID = StringId.DefenseAndUndefense,
- TextAlignment = TextAlignment.CenterLeft,
- TextColor = CSS_Color.FirstLevelTitleColor,
- SelectedTextColor = CSS_Color.MainColor,
- TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel
- };
- securityDiv.AddChidren(btnSecuritySelectionTip);
+ //btnSecuritySelectionTip = new Button()
+ //{
+ // X = Application.GetRealWidth(30),
+ // Y = Application.GetRealWidth(174),
+ // Width = Application.GetRealWidth(74),
+ // Height = Application.GetRealWidth(30),
+ // TextID = StringId.DefenseAndUndefense,
+ // TextAlignment = TextAlignment.CenterLeft,
+ // TextColor = CSS_Color.FirstLevelTitleColor,
+ // SelectedTextColor = CSS_Color.MainColor,
+ // TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel
+ //};
+ //securityDiv.AddChidren(btnSecuritySelectionTip);
#endregion
#region Doorlock
- optionView.AddChidren(new Button() { Width = Application.GetRealWidth(16) });
+ //optionView.AddChidren(new Button() { Width = Application.GetRealWidth(16) });
- FrameLayout doorlockDiv = new FrameLayout()
- {
- Width = Application.GetRealWidth(94),
- };
- optionView.AddChidren(doorlockDiv);
+ //FrameLayout doorlockDiv = new FrameLayout()
+ //{
+ // Width = Application.GetRealWidth(94),
+ //};
+ //optionView.AddChidren(doorlockDiv);
- btnDoorlockBg = new Button()
- {
- Height = Application.GetRealWidth(174),
- UnSelectedImagePath = "PersonalCenter/AppUnlockSetting/4.png",
- SelectedImagePath = "PersonalCenter/AppUnlockSetting/4On.png"
- };
- doorlockDiv.AddChidren(btnDoorlockBg);
+ //btnDoorlockBg = new Button()
+ //{
+ // Height = Application.GetRealWidth(174),
+ // UnSelectedImagePath = "PersonalCenter/AppUnlockSetting/4.png",
+ // SelectedImagePath = "PersonalCenter/AppUnlockSetting/4On.png"
+ //};
+ //doorlockDiv.AddChidren(btnDoorlockBg);
- btnDoorlockSelectionIcon = new Button()
- {
- X = Application.GetRealWidth(5),
- Y = Application.GetRealWidth(174),
- Width = Application.GetRealWidth(30),
- Height = Application.GetRealWidth(30),
- UnSelectedImagePath = "Public/ChooseIcon.png",
- SelectedImagePath = "Public/ChooseOnIcon.png",
- };
- doorlockDiv.AddChidren(btnDoorlockSelectionIcon);
+ //btnDoorlockSelectionIcon = new Button()
+ //{
+ // X = Application.GetRealWidth(5),
+ // Y = Application.GetRealWidth(174),
+ // Width = Application.GetRealWidth(30),
+ // Height = Application.GetRealWidth(30),
+ // UnSelectedImagePath = "Public/ChooseIcon.png",
+ // SelectedImagePath = "Public/ChooseOnIcon.png",
+ //};
+ //doorlockDiv.AddChidren(btnDoorlockSelectionIcon);
- btnDoorlockSelectionTip = new Button()
- {
- X = Application.GetRealWidth(30),
- Y = Application.GetRealWidth(174),
- Width = Application.GetRealWidth(74),
- Height = Application.GetRealWidth(30),
- TextID = StringId.RemoteUnlocking,
- TextAlignment = TextAlignment.CenterLeft,
- TextColor = CSS_Color.FirstLevelTitleColor,
- SelectedTextColor = CSS_Color.MainColor,
- TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel
- };
- doorlockDiv.AddChidren(btnDoorlockSelectionTip);
+ //btnDoorlockSelectionTip = new Button()
+ //{
+ // X = Application.GetRealWidth(30),
+ // Y = Application.GetRealWidth(174),
+ // Width = Application.GetRealWidth(74),
+ // Height = Application.GetRealWidth(30),
+ // TextID = StringId.RemoteUnlocking,
+ // TextAlignment = TextAlignment.CenterLeft,
+ // TextColor = CSS_Color.FirstLevelTitleColor,
+ // SelectedTextColor = CSS_Color.MainColor,
+ // TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel
+ //};
+ //doorlockDiv.AddChidren(btnDoorlockSelectionTip);
+ #endregion
#endregion
optionView.AddChidren(new Button() { Width = Application.GetRealWidth(16) });
@@ -696,7 +708,7 @@
{
Height = Application.GetRealHeight(51),
};
- if (sTouchID && UserInfo.Current.appUnlockPasswrod != ""&&!UserInfo.Current.appUnlockType.Contains("4"))
+ if (sTouchID && UserInfo.Current.appUnlockPasswrod != "" && !UserInfo.Current.appUnlockType.Contains("4"))
{
unlockOptionView.AddChidren(fingerprintUnlockDiv);
}
@@ -750,7 +762,7 @@
{
Height = Application.GetRealHeight(50),
};
- if (sFaceID && UserInfo.Current.appUnlockPasswrod != "" && !UserInfo.Current.appUnlockType.Contains("4"))
+ if (sFaceID && UserInfo.Current.appUnlockPasswrod != "" && !UserInfo.Current.appUnlockType.Contains("3"))
{
unlockOptionView.AddChidren(faceIdUnlockDiv);
}
--
Gitblit v1.8.0