From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs | 37 +++++++++++++++++++------------------ 1 files changed, 19 insertions(+), 18 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs index 862f8f5..756529e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs @@ -72,20 +72,15 @@ frameLogo.Height = Application.GetRealHeight(484); frameLogo.BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor; bodyFrameLayout.AddChidren(frameLogo); - //鍥炬爣鐨勫鍣� - var frameLogoBackground = new FrameLayoutBase(); - frameLogoBackground.Y = Application.GetRealHeight(104); - frameLogoBackground.Width = this.GetPictrueRealSize(167); - frameLogoBackground.Height = this.GetPictrueRealSize(167); - frameLogoBackground.Gravity = Gravity.CenterHorizontal; - frameLogoBackground.BackgroundColor = ZigbeeColor.Current.GXCButtonBlackSelectedColor; - frameLogoBackground.Radius = (uint)Application.GetRealHeight(37); - frameLogo.AddChidren(frameLogoBackground); //鍥炬爣 - var btnLogo = new IconViewControl(144); - btnLogo.UnSelectedImagePath = "Account/Logo_White.png"; - btnLogo.Gravity = Gravity.Center; - frameLogoBackground.AddChidren(btnLogo); + var btnLogo = new ImageView(); + btnLogo.Y = Application.GetRealHeight(104); + btnLogo.Width = this.GetPictrueRealSize(167); + btnLogo.Height = this.GetPictrueRealSize(167); + btnLogo.Radius = (uint)Application.GetRealHeight(37); + btnLogo.ImagePath = "Account/Logo_Evoyo.png"; + btnLogo.Gravity = Gravity.CenterHorizontal; + frameLogo.AddChidren(btnLogo); //Evoyo Home var btnName = new NormalViewControl(700, 60, true); btnName.Y = Application.GetRealHeight(294); @@ -111,11 +106,17 @@ listView.Height = Application.GetRealHeight(500); bodyFrameLayout.AddChidren(listView); //鏈嶅姟鍗忚 - //var rowService = new FrameRowControl(listView.rowSpace / 2); - //listView.AddChidren(rowService); - //rowService.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.SLA), 400); - //rowService.AddRightArrow(); - //rowService.AddBottomLine(); + var rowService = new FrameRowControl(listView.rowSpace / 2); + listView.AddChidren(rowService); + rowService.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.SLA), 400); + rowService.AddRightArrow(); + rowService.AddBottomLine(); + rowService.ButtonClickEvent += (sender, e) => + { + var form = new SLAForm(); + form.AddForm(); + }; + //鐗堟湰鏇存柊 this.rowUpdate = new FrameRowControl(listView.rowSpace / 2); listView.AddChidren(rowUpdate); -- Gitblit v1.8.0