private static void HideOkButton(AlertDialog.Builder builder)
 {
     builder.SetPositiveButton("", (o, e) => { });
 }
 protected override void InitializePositiveAndNegativeButtons(AlertDialog.Builder builder)
 {
     builder.SetPositiveButton(DoneText, delegate { Done(); });
     builder.SetNegativeButton(CancelText, delegate { });
 }
Пример #3
0
        protected override void OnPrepareDialogBuilder(AlertDialog.Builder builder)
        {
            base.OnPrepareDialogBuilder(builder);

            builder.SetIcon(Resource.Drawable.Icon);
            builder.SetPositiveButton("Google Wallet", pos_Click);
            builder.SetNegativeButton("Pay Pal", neg_Click);
        }