As shown in the picture, I would like the spinning circle to override where the Cancel/Neutral button is. I tried pb.TranslationZ and it only shows a portion of the circle so it's still beneath the Button Bar. The current location of the spinning circle is for checkboxes and these checkboxes reside in a multi-select dropdown. As I scroll, the only part that's not moving in an AlertDialog is the bottom bar where the buttons are, which is why I would like to put the spinning circle there.
Is there a way to show it in place of or on top of those buttons? Thanks.
AlertDialog.Builder builder;
builder.SetNegativeButton("Cancel", this);
builder.SetPositiveButton("APPLY", Apply);
builder.SetNeutralButton("Neutral", this);
ProgressBar pb = new ProgressBar(_context);
pb.ScaleX = 0.5f;
pb.ScaleY = 0.5f;
pb.TranslationX = -374;
** pb.TranslationZ = 74;**
builder.SetView(pb);
builder.SetOnCancelListener(this);
builder.Show();