old mode 100755
new mode 100644
| | |
| | |
|
| | | var dialogBody = new NormalFrameLayout();
|
| | | FrameDialog.AddChidren(dialogBody);
|
| | | FrameDialog.Show();
|
| | | dialogBody.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (ClickBackClose == true && this.btnCancel != null)
|
| | |
| | | //白色背景
|
| | | var frameWhiteBack = new NormalFrameLayout();
|
| | | frameWhiteBack.Width = Application.GetRealWidth(343);
|
| | | frameWhiteBack.Height = RowHeight * (RowCount + 1);
|
| | | frameWhiteBack.Height = RowHeight * (RowCount + 1);
|
| | | frameWhiteBack.Radius = (uint)Application.GetRealWidth(12);
|
| | | frameWhiteBack.Gravity = Gravity.CenterHorizontal;
|
| | | frameWhiteBack.Y = dialogBody.Height - RowHeight * (RowCount + 1) - Application.GetRealHeight(20);
|
| | |
| | | btnCancel.Y = Application.GetRealHeight(2);
|
| | | btnCancel.TextColor = CSS_Color.PromptingColor1;
|
| | | btnCancel.TextID = StringId.Cancel;
|
| | | btnCancel.TextSize = CSS_FontSize.TextFontSize;
|
| | | frameWhiteBack.AddChidren(btnCancel);
|
| | |
|
| | | //标题
|
| | |
| | | btnConfirm.TextAlignment = TextAlignment.CenterRight;
|
| | | btnConfirm.TextColor = CSS_Color.MainColor;
|
| | | btnConfirm.TextID = StringId.Confirm;
|
| | | btnConfirm.TextSize = CSS_FontSize.TextFontSize;
|
| | | frameWhiteBack.AddChidren(btnConfirm);
|
| | |
|
| | | FrameDialog.Show();
|
| | |
|
| | | return frameWhiteBack;
|
| | | }
|
| | |
|