From 34e965100d635346e2d4cd6e6013bdaed66b3004 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期四, 02 一月 2020 19:52:13 +0800
Subject: [PATCH] 2019.1.2-3
---
ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs
index e0fd6a0..e6dcc45 100644
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs
@@ -11,14 +11,23 @@
public const int AppRealWidth = 1080;
/// <summary>
+ /// 14
+ /// </summary>
+ public const int TextSize = 14;
+ /// <summary>
+ /// 16
+ /// </summary>
+ public const int TextSize_Selected = 16;
+
+ /// <summary>
/// 瀛椾綋12
/// </summary>
public const int loginTextSize = 12;
/// <summary>
/// 鍗犱綅瀛椾綋澶у皬
- /// 12
+ /// 14
/// </summary>
- public const int PlaceHolderTextSize = 12;
+ public const int PlaceHolderTextSize = 14;
/// <summary>
/// Row_Height
@@ -231,6 +240,21 @@
return $"{sec}{Language.StringByID(R.MyInternationalizationString.Second)}";
}
}
- }
+ /// <summary>
+ /// 鏄剧ず鎻愮ず
+ /// </summary>
+ /// <param name="r">The red component.</param>
+ public static void ShowTip(string msg)
+ {
+ Application.RunOnMainThread(() =>
+ {
+ var myTip = new Tip();
+ myTip.Direction = AMPopTipDirection.None;
+ myTip.CloseTime = 2;
+ myTip.Text = msg;
+ myTip.Show(Common.CommonPage.Instance);
+ });
+ }
+ }
}
--
Gitblit v1.8.0