From 64b5d3b0eab77341795cc7d6634ffa7cf60848e2 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 16 十一月 2020 14:39:00 +0800 Subject: [PATCH] 2020-11-16 1.界面问题优化。2.上传和下载增加失败重新操作处理。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs index d3d72c7..2c93b08 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs @@ -24,11 +24,10 @@ public static FrameLayout UserPageView = new FrameLayout (); - //public static Button LinkStatusTip = new Button () { - // Height = Application.GetRealHeight (36), - // Width = Application.GetRealWidth (Application.DesignWidth), - // BackgroundColor = SkinStyle.Current.LinkStatusTipColor - //}; + public static Button LinkStatusTip = new Button () { + Height = Application.GetRealHeight (Convert.ToInt32 (36 * MainPage.PixelScale)), + BackgroundColor = SkinStyle.Current.MainColor + }; public static PageLayout FavoritePageView = new PageLayout () { IsShowPoint = false, @@ -110,6 +109,7 @@ #region ---Bottom Button---- public static Button btnFavorite = new Button () { Width = Application.GetRealWidth (160), + Height = MainPage.GetDesignHeight (90), TextID = R.MyInternationalizationString.Favorite, TextColor = SkinStyle.Current.TextColor1, SelectedTextColor = SkinStyle.Current.SelectedColor, @@ -125,6 +125,7 @@ public static Button btnDevice = new Button () { X = Application.GetRealWidth (160), Width = Application.GetRealWidth (160), + Height = MainPage.GetDesignHeight (90), TextID = R.MyInternationalizationString.Category, SelectedTextColor = SkinStyle.Current.SelectedColor, TextColor = SkinStyle.Current.TextColor1, @@ -138,6 +139,7 @@ public static Button btnRoom = new Button () { X = Application.GetRealWidth (160 * 2), Width = Application.GetRealWidth (160), + Height = MainPage.GetDesignHeight (90), TextID = R.MyInternationalizationString.Rooms, SelectedTextColor = SkinStyle.Current.SelectedColor, TextColor = SkinStyle.Current.TextColor1, @@ -151,6 +153,7 @@ public static Button btnSetting = new Button () { X = Application.GetRealWidth (160 * 3), Width = Application.GetRealWidth (160), + Height = MainPage.GetDesignHeight (90), TextID = R.MyInternationalizationString.Setting, SelectedTextColor = SkinStyle.Current.SelectedColor, TextColor = SkinStyle.Current.TextColor1, @@ -415,7 +418,7 @@ //IO.FileUtils.SaveEquipmentMessage (ud3, "3"); #endif UserHomePage.FrameLayoutMain.AddChidren (UserPageView); - //UserHomePage.FrameLayoutMain.AddChidren (LinkStatusTip); + UserHomePage.FrameLayoutMain.AddChidren (LinkStatusTip); UserPageView.AddChidren (FavoritePageView); FavoritePageView.AddChidren (FavoriteBodyView); -- Gitblit v1.8.0