| | |
| | | /// <param name="i_width">宽度,真实值</param>
|
| | | /// <param name="i_height">高度,真实值</param>
|
| | | /// <param name="i_radius">圆角度(只对安卓有效)</param>
|
| | | public BottomRightClickButton(int i_width, int i_height, uint i_radius = 8)
|
| | | public BottomRightClickButton(int i_width, int i_height, int i_radius = 17)
|
| | | {
|
| | | this.Height = i_height;
|
| | | this.Width = i_width;
|
| | | this.Gravity = Gravity.BottomRight;
|
| | |
|
| | | #if Android
|
| | | this.Radius = i_radius;
|
| | | this.RadiusEx = i_radius;
|
| | | #endif
|
| | | }
|
| | |
|
| | |
| | | this.AddChidren(btnBomTemp, ChidrenBindMode.BindEventOnly);
|
| | | //确认按钮
|
| | | this.btnConfirm = new NormalViewControl(this.Width - Application.GetRealWidth(10), Application.GetRealHeight(60), false);
|
| | | btnConfirm.IsBold = true;
|
| | | btnConfirm.Gravity = Gravity.Center;
|
| | | btnConfirm.TextColor = UserCenterColor.Current.White;
|
| | | btnConfirm.Text = i_text;
|
| | |
| | | #if iOS
|
| | | //确认按钮
|
| | | this.btnConfirm = new NormalClickButton(this.Width, this.Height, false);
|
| | | btnConfirm.IsBold = true;
|
| | | btnConfirm.Gravity = Gravity.BottomRight;
|
| | | btnConfirm.TextColor = UserCenterColor.Current.White;
|
| | | btnConfirm.Text = i_text;
|