From eb424d24e39bab4a245725f35deab3f234ea0f13 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 13 十二月 2019 10:48:50 +0800 Subject: [PATCH] 2019.12.13 --- ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs | 10 ++++++++-- ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs | 6 ++++-- ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs | 1 + ZigbeeApp/Shared/Phone/Device/Category/Category.cs | 3 ++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs index 9bda29b..bff8cca 100644 --- a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs +++ b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs @@ -485,8 +485,9 @@ Gravity = Gravity.CenterVertical, TextAlignment = TextAlignment.CenterLeft, TextID = R.MyInternationalizationString.Category, - TextSize = 20, + TextSize = 24, TextColor = ZigbeeColor.Current.GXCTextDeepBlackColor, + IsBold=true }; topView.AddChidren(title); diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs index ec4ead2..fc27ca5 100644 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs @@ -101,6 +101,7 @@ { NameBtn.IsSelected = Line.IsSelected = statu; NameBtn.TextSize = statu ? CommonFormResouce.TextSize_Selected : CommonFormResouce.TextSize; + NameBtn.IsBold = statu; } } } diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs index 4227c91..f5d0bda 100644 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs @@ -118,13 +118,15 @@ { topTitle = new Button { - X=Application.GetRealWidth(164), + 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, - TextAlignment=TextAlignment.CenterLeft + TextAlignment = TextAlignment.CenterLeft, + IsBold = true, }; + topView.AddChidren(topTitle); } /// <summary> diff --git a/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs b/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs index ab2ac7b..d3163c0 100644 --- a/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs +++ b/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs @@ -466,7 +466,8 @@ TextAlignment = TextAlignment.CenterLeft, Text = Config.Instance.Home.Name ?? Language.StringByID(R.MyInternationalizationString.TheResidenceNameNull), TextSize = 24, - TextColor = ZigbeeColor.Current.GXCTextBlackColor + TextColor = ZigbeeColor.Current.GXCTextBlackColor, + IsBold=true }; if (Config.Instance.Home.IsOthreShare) { @@ -686,7 +687,8 @@ SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor, TextID = R.MyInternationalizationString.Scence, IsSelected = true, - TextSize=16 + TextSize=16, + IsBold=true }; functionSceneView.AddChidren(sceneBtn); @@ -721,7 +723,9 @@ sceneBtn.IsSelected = false; functionBtn.IsSelected = true; sceneBtn.TextSize = 14; + sceneBtn.IsBold = false; functionBtn.TextSize = 16; + functionBtn.IsBold = true; RefreshBodyView(); }; //閫夋嫨鍦烘櫙鍒嗘爮 @@ -730,7 +734,9 @@ functionBtn.IsSelected = false; sceneBtn.IsSelected = true; sceneBtn.TextSize = 16; + sceneBtn.IsBold = true; functionBtn.TextSize = 14; + functionBtn.IsBold = false; RefreshBodyView(); }; -- Gitblit v1.8.0