From 23c075a9c27946773feccf05abc90489a6bf5203 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 06 七月 2020 15:58:53 +0800
Subject: [PATCH] 20200706
---
Shared.Droid/UI/GestureLockView.cs | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/Shared.Droid/UI/GestureLockView.cs b/Shared.Droid/UI/GestureLockView.cs
index 0fd8a73..7f8dec8 100644
--- a/Shared.Droid/UI/GestureLockView.cs
+++ b/Shared.Droid/UI/GestureLockView.cs
@@ -79,20 +79,31 @@
{
set
{
-
byte r, g, b, a;
r = (byte)(value / 256 / 256 % 256);
g = (byte)(value / 256 % 256);
b = (byte)(value % 256);
a = (byte)(value / 256 / 256 / 256 % 256);
-
mHDLGestureLockView.SetUnmatchedPathColor(Android.Graphics.Color.Argb(a, r, g, b));
-
-
-
}
}
+ /// <summary>
+ /// 榛樿鍦嗙偣鑳屾櫙棰滆壊
+ /// </summary>
+ /// <value>绾块鑹�</value>
+ public uint LockViewNormalColor
+ {
+ set
+ {
+ byte r, g, b, a;
+ r = (byte)(value / 256 / 256 % 256);
+ g = (byte)(value / 256 % 256);
+ b = (byte)(value % 256);
+ a = (byte)(value / 256 / 256 / 256 % 256);
+ mHDLGestureLockView.SetBorderColor(Android.Graphics.Color.Argb(a, r, g, b));
+ }
+ }
/// <summary>
/// 鏄剧ず鎵嬪娍瑙i攣view 鏄惁鏄剧ず姝g‘
@@ -109,7 +120,14 @@
}
}
-
+ /// <summary>
+ /// 2020-06-18 鏂板
+ /// 璁剧疆鏄惁涓哄疄蹇冨渾褰㈣В閿佹牱寮�
+ /// </summary>
+ public void SetSolidType(bool isTrue)
+ {
+ mHDLGestureLockView.SetSolidType(isTrue);
+ }
--
Gitblit v1.8.0