From b74c052b43d7c4a830386940a036eb7c2ec9abc2 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期二, 14 一月 2020 13:37:26 +0800 Subject: [PATCH] 2020-1-14-01 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs index 5da1d10..d611651 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs @@ -39,9 +39,9 @@ var listDevice = Common.LocalDevice.Current.GetDevicesByMac(i_deviceMac); - var listView = new FrameListControl(12); + var listView = new VerticalListControl(12); listView.BackgroundColor = UserCenterColor.Current.White; - listView.Height = Application.GetRealHeight(876); + listView.Height = bodyFrameLayout.Height; bodyFrameLayout.AddChidren(listView); //璁惧鍚嶇О @@ -53,11 +53,12 @@ rowName.AddBottomLine(); //璁惧鍨嬪彿 + string strModel = listDevice[0].DriveCode > 0 ? Language.StringByID(R.MyInternationalizationString.uVirtualDriveDevice) : listDevice[0].ModelIdentifier; var rowType = new FrameRowControl(listView.rowSpace / 2); rowType.UseClickStatu = false; listView.AddChidren(rowType); rowType.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uModelIdentifier), 300); - rowType.AddMostRightView(listDevice[0].ModelIdentifier, 600); + rowType.AddMostRightView(strModel, 600); rowType.AddBottomLine(); //鍥轰欢鐗堟湰 @@ -89,11 +90,14 @@ rowMac.AddBottomLine(); //鍒堕�犲晢 + string strProtuct = listDevice[0].DriveCode > 0 ? "HDL" : listDevice[0].ManufacturerName; var rowProtuct = new FrameRowControl(listView.rowSpace / 2); rowProtuct.UseClickStatu = false; listView.AddChidren(rowProtuct); rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 300); - rowProtuct.AddMostRightView(listDevice[0].ManufacturerName, 600); + rowProtuct.AddMostRightView(strProtuct, 600); + + listView.AdjustRealHeight(Application.GetRealHeight(23)); } #endregion -- Gitblit v1.8.0