| | |
| | | this.Gravity = Gravity.CenterHorizontal;
|
| | | this.Width = Application.GetRealWidth(964);
|
| | | this.Height = Application.GetRealHeight(340);
|
| | | this.Radius = (uint)Application.GetMinRealAverage(20);
|
| | | this.Radius = 20;
|
| | | this.BackgroundColor = UserCenterColor.Current.White;
|
| | | }
|
| | |
|
| | |
| | | //右上圆角背景
|
| | | var btnTopRight = new NormalViewControl(50, 50, true);
|
| | | btnTopRight.BackgroundColor = UserCenterColor.Current.White;
|
| | | btnTopRight.Radius = (uint)Application.GetMinRealAverage(6);
|
| | | btnTopRight.Radius = 6;
|
| | | this.AddChidren(btnTopRight);
|
| | | btnTopRight.X = this.Width - btnTopRight.Width;
|
| | |
|
| | | //左下圆角背景
|
| | | var btnBottomRight = new NormalViewControl(50, 50, true);
|
| | | btnBottomRight.BackgroundColor = UserCenterColor.Current.White;
|
| | | btnBottomRight.Radius = (uint)Application.GetMinRealAverage(6);
|
| | | btnBottomRight.Radius = 6;
|
| | | this.AddChidren(btnBottomRight);
|
| | | btnBottomRight.Y = this.Height - btnBottomRight.Height;
|
| | |
|
| | |
| | | int backHeight = Application.GetMinRealAverage(132);
|
| | | btnBack = new NormalViewControl(backHeight, backHeight, false);
|
| | | btnBack.Gravity = Gravity.CenterHorizontal;
|
| | | btnBack.Radius = (uint)backHeight;
|
| | | btnBack.Radius = (uint)backHeight / 2;
|
| | | btnBack.BackgroundColor = UserCenterColor.Current.BodyFrameLayout;
|
| | | this.AddChidren(btnBack, ChidrenBindMode.BindEventOnly);
|
| | |
|