From fdc47d950498e088260a3b04028703adc0f878e0 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 30 三月 2020 10:54:27 +0800
Subject: [PATCH] 2020-03-30-1
---
ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
index b9d0c89..1efed52 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
@@ -25,7 +25,16 @@
Y = Application.GetRealHeight(92),
Height = Application.GetRealHeight(69),
};
-
+ public Button btnTitle = new Button
+ {
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = Shared.Common.ZigbeeColor.Current.XMTopTitleText,
+ X = Application.GetRealWidth(161),
+ Width = Application.GetRealWidth(1080 - 161),
+ Height = Application.GetRealWidth(69),
+ IsBold = true,
+ TextSize = 17,
+ };
public FrameLayout btnBackFrameLayout = new FrameLayout
{
X = Application.GetRealWidth(58),
@@ -57,17 +66,8 @@
this.AddChidren(topFrameLayout);
topFrameLayout.AddChidren(titleFrameLayout);
topFrameLayout.AddChidren(btnTitleLine);
- var title = new Button()
- {
- TextAlignment = TextAlignment.CenterLeft,
- Text = titleText,
- TextColor = Shared.Common.ZigbeeColor.Current.XMTopTitleText,
- X = Application.GetRealWidth(161),
- Width = Application.GetRealWidth(1080 - 161),
- Height = Application.GetRealWidth(69),
- TextSize = 17,
- };
- titleFrameLayout.AddChidren(title);
+ titleFrameLayout.AddChidren(btnTitle);
+ btnTitle.Text = titleText;
titleFrameLayout.AddChidren(btnBackFrameLayout);
btnBackFrameLayout.AddChidren(btnBack);
}
--
Gitblit v1.8.0