public static Android.Support.V7.App.AlertDialog CreateFullScreenIndeterminateProgressDialog(Context context) { var builder = new Android.Support.V7.App.AlertDialog.Builder(context); builder.SetView(LayoutInflater.From(context).Inflate(Resource.Layout.loader, null)); //builder.SetCancelable(false); builder.SetRecycleOnMeasureEnabled(true); builder.SetInverseBackgroundForced(true); var dialog = builder.Create(); dialog.Window.SetBackgroundDrawable(new ColorDrawable(Color.Transparent)); return dialog; }