From 00ab3ddb140ba8bb88b5cf572b004a85e1da85e9 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 02 一月 2020 19:51:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into DEV_GXC --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs index 18859f5..1308333 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs @@ -89,6 +89,12 @@ topFrameLayout.Name = "topFrameLayout"; this.AddChidren(topFrameLayout); + //绾� + var btnLine = new NormalViewControl(topFrameLayout.Width, 1, false); + btnLine.BackgroundColor = 0x40000000; + btnLine.Y = topFrameLayout.Height - 1; + topFrameLayout.AddChidren(btnLine); + //杩斿洖閿� var btnBack = new BackViewControl(); topFrameLayout.AddChidren(btnBack); @@ -103,6 +109,8 @@ //鏍囬 var txttitle = new TopLayoutTitleControl(); topFrameLayout.AddChidren(txttitle); + //绮椾綋 + txttitle.IsBold = true; topFrameLayout.AddTag("txtTitle", txttitle); } @@ -252,7 +260,7 @@ btnHelp.Text = Language.StringByID(R.MyInternationalizationString.uSearchHelp); bodyFrameLayout.AddChidren(btnHelp); //搴曠嚎 - int lineWidth = btnHelp.GetRealWidthByText(12); + int lineWidth = btnHelp.GetRealWidthByText(); var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false); btnLine.BackgroundColor = UserCenterColor.Current.TextOrangeColor; btnLine.Gravity = Gravity.CenterHorizontal; -- Gitblit v1.8.0