| | |
| | | //把上圆角覆盖为方角
|
| | | this.btnTopTemp = new NormalViewControl(this.Width, Application.GetRealHeight(40), false);
|
| | | btnTopTemp.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor;
|
| | | this.AddChidren(btnTopTemp, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnTopTemp, ChidrenBindMode.BindEvent);
|
| | | //把左下圆角覆盖为方角
|
| | | this.btnBomTemp = new NormalViewControl(this.Width / 2, Application.GetRealHeight(40), false);
|
| | | btnBomTemp.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor;
|
| | | btnBomTemp.Gravity = Gravity.BottomLeft;
|
| | | this.AddChidren(btnBomTemp, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnBomTemp, ChidrenBindMode.BindEvent);
|
| | | //确认按钮
|
| | | this.btnConfirm = new NormalViewControl(this.Width - Application.GetRealWidth(10), Application.GetRealHeight(60), false);
|
| | | btnConfirm.IsBold = true;
|
| | |
| | | btnConfirm.TextColor = UserCenterColor.Current.White;
|
| | | btnConfirm.Text = i_text;
|
| | | btnConfirm.TextAlignment = TextAlignment.Center;
|
| | | this.AddChidren(btnConfirm, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnConfirm, ChidrenBindMode.BindEvent);
|
| | |
|
| | | //重写控件点击状态
|
| | | this.SelectStatuEvent += (statu) =>
|
| | |
| | | btnConfirm.TextAlignment = TextAlignment.Center;
|
| | | btnConfirm.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor;
|
| | | btnConfirm.oldBackgroundColor = UserCenterColor.Current.ClickButtonDefultColor;
|
| | | this.AddChidren(btnConfirm, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnConfirm, ChidrenBindMode.BindEvent);
|
| | | #endif
|
| | | }
|
| | |
|