From 74a9ba8e9a2df9c39f9c2eb212a5ac889a055cd4 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 03 十二月 2019 10:47:51 +0800 Subject: [PATCH] 优化UI细节(请合并最新代码) --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UndistributeDoorlockUserPage.cs | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UndistributeDoorlockUserPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UndistributeDoorlockUserPage.cs old mode 100755 new mode 100644 index a0f8318..2e9298d --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UndistributeDoorlockUserPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UndistributeDoorlockUserPage.cs @@ -1,5 +1,6 @@ 锘縰sing System; using System.Collections.Generic; +using Android.Views; using Shared.Common; using ZigBee.Device; namespace Shared.Phone.UserCenter.DoorLock @@ -249,7 +250,7 @@ var line2 = new Button() { Y = rowFrameLayout.Height - 1, - X = Application.GetRealWidth(58), + X = Application.GetRealWidth(176), Width = Application.GetRealWidth(965), Height = 1, BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine, @@ -364,33 +365,35 @@ var btnMatchUser = new Button { - X = Application.GetRealWidth(446), + X = Application.GetRealWidth(159), Y = Application.GetRealHeight(35), Height = Application.GetRealHeight(63), - Width = Application.GetRealWidth(284), + Width = Application.GetRealWidth(762), Text = Language.StringByID(R.MyInternationalizationString.MatchPerson), TextColor = Shared.Common.ZigbeeColor.Current.XMBlack, TextSize = 16, + TextAlignment = TextAlignment.Center, }; matchUsersFrameLayout.AddChidren(btnMatchUser); var btnFinish = new Button { - X = Application.GetRealWidth(919), + X = Application.GetRealWidth(921), Y = Application.GetRealHeight(40), Height = Application.GetRealHeight(58), - Width = Application.GetRealWidth(101), + Width = Application.GetRealWidth(101 + 81), Text = Language.StringByID(R.MyInternationalizationString.Complete), - TextColor = Shared.Common.ZigbeeColor.Current.XMGray3, + TextColor = Shared.Common.ZigbeeColor.Current.XMOrange, TextSize = 14, + TextAlignment = TextAlignment.CenterLeft, }; matchUsersFrameLayout.AddChidren(btnFinish); var btnTopLine = new FrameLayout() { - Height = Application.GetRealHeight(5), + Height = 1, Y = Application.GetRealHeight(138), - BackgroundColor = Shared.Common.ZigbeeColor.Current.XMGray3, + BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine, }; bottomFrameLayout2.AddChidren(btnTopLine); @@ -644,6 +647,8 @@ var rowFrameLayout = new RowLayout() { Height = Application.GetRealHeight(150), + LineColor = Shared.Common.ZigbeeColor.Current.XMRowLine, + X = Application.GetRealWidth(81), }; sidelipVerticalScrolViewLayout.AddChidren(rowFrameLayout); @@ -651,7 +656,6 @@ { Width = Application.GetRealWidth(81), Height = Application.GetRealHeight(81), - X = Application.GetRealWidth(81), Y = Application.GetRealHeight(55), }; rowFrameLayout.AddChidren(btnAllMethod); @@ -660,7 +664,7 @@ { Width = Application.GetRealWidth(311), Height = Application.GetRealHeight(58), - X = Application.GetRealWidth(173), + X = Application.GetRealWidth(92), Y = Application.GetRealHeight(69), TextColor = Shared.Common.ZigbeeColor.Current.XMGray3, TextSize = 14, -- Gitblit v1.8.0