From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 01 十二月 2022 09:56:25 +0800
Subject: [PATCH] 2022年12月01日09:56:23
---
ZigbeeApp/Shared/Phone/UserCenter/DoorLock/EntryStatusPage.cs | 32 ++++++++++++++++++++++++++++----
1 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/EntryStatusPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/EntryStatusPage.cs
index aee5ff4..97eb5c7 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/EntryStatusPage.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/EntryStatusPage.cs
@@ -43,8 +43,8 @@
FrameLayout bottomFrameLayout;
#endregion
- /// <summary>
- /// UI鏄剧ず
+ /// <summary>
+ /// UI鏄剧ず
/// </summary>
public void Show()
{
@@ -69,8 +69,8 @@
{
X = Application.GetRealWidth(297),
Y = Application.GetRealHeight(268),
- Height = Application.GetRealHeight(363),
- Width = Application.GetRealWidth(452),
+ Height = Application.GetMinRealAverage(363),
+ Width = Application.GetMinRealAverage(452),
UnSelectedImagePath = "DoorLock/EntrySuccessIcon.png",
};
this.midFrameLayout.AddChidren(entryStatusPic);
@@ -94,6 +94,14 @@
else if (currentType == "fingerprint")
{
btnPicTip.Text = Language.StringByID(R.MyInternationalizationString.EntryFingerprintSuccess);
+ }
+ else if (currentType == "faceID")
+ {
+ btnPicTip.Text = Language.StringByID(R.MyInternationalizationString.EntryFaceIDSuccess);
+ }
+ else if (currentType == "calmFingerprint")
+ {
+ btnPicTip.Text = Language.StringByID(R.MyInternationalizationString.EntryCalmFingerprintSuccess);
}
else
{
@@ -227,6 +235,22 @@
btnPasswordRemark.Text = Language.StringByID(R.MyInternationalizationString.FingerprintRemark);
btnPasswordRemarkContent.PlaceholderText = Language.StringByID(R.MyInternationalizationString.Fingerprint) + "ID" + doorLock.doorLockProgrammingEventNotificationCommand.UserID;
}
+ else if (currentType == "faceID")
+ {
+ btnPasswordRemark.Width = Application.GetRealWidth(222 + 75);
+ btnPasswordRemarkContent.Width = Application.GetRealWidth(965 - 222 - 75);
+ btnPasswordRemarkContent.X = Application.GetRealWidth(222 + 75 + 1);
+ btnPasswordRemark.Text = Language.StringByID(R.MyInternationalizationString.FaceIDRemark);
+ btnPasswordRemarkContent.PlaceholderText = Language.StringByID(R.MyInternationalizationString.FaceIDMark) + "ID" + doorLock.doorLockProgrammingEventNotificationCommand.UserID;
+ }
+ else if (currentType == "calmFingerprint")
+ {
+ btnPasswordRemark.Width = Application.GetRealWidth(222 + 25);
+ btnPasswordRemarkContent.Width = Application.GetRealWidth(965 - 222 - 25);
+ btnPasswordRemarkContent.X = Application.GetRealWidth(222 + 25 + 1);
+ btnPasswordRemark.Text = Language.StringByID(R.MyInternationalizationString.CalmFingerprintRemark);
+ btnPasswordRemarkContent.PlaceholderText = Language.StringByID(R.MyInternationalizationString.CalmFingerprintMark) + "ID" + doorLock.doorLockProgrammingEventNotificationCommand.UserID;
+ }
else
{
btnPasswordRemark.Text = Language.StringByID(R.MyInternationalizationString.ProximityRemark);
--
Gitblit v1.8.0