From 05ce435c3b58e53eeab04c672affdeeab75f3036 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 15 十一月 2019 14:41:39 +0800 Subject: [PATCH] 2019.11.15-1 --- ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs old mode 100755 new mode 100644 index e3379a5..4227c91 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs @@ -68,6 +68,14 @@ Width = Application.GetRealWidth(CommonPage.AppRealWidth) }; AddChidren(topView); + + var line = new Button + { + Y=Height-1, + Height=1, + BackgroundColor=ZigbeeColor.Current.GXCGrayLineColor3 + }; + AddChidren(line); } #endregion @@ -110,11 +118,12 @@ { topTitle = new Button { + X=Application.GetRealWidth(164), Height = Application.GetRealHeight(CommonFormResouce.TopFrameLayout_Height - CommonFormResouce.TopStatuFrameLayout_Height), Width = Application.GetRealWidth(CommonFormResouce.TopTitle_Width), TextSize = CommonFormResouce.TopTitle_TextSize, TextColor = ZigbeeColor.Current.GXCTitleBlackTitle, - Gravity = Gravity.CenterHorizontal, + TextAlignment=TextAlignment.CenterLeft }; topView.AddChidren(topTitle); } -- Gitblit v1.8.0