public override Dialog OnCreateDialog(Bundle savedInstanceState)
        {
            int    contentResId    = Arguments.GetInt(ArgContentResId, -1);
            int    positiveResId   = Arguments.GetInt(ArgPositiveResId, -1);
            int    negativeResId   = Arguments.GetInt(ArgNegativeResId, -1);
            var    content         = contentResId == -1 ? Arguments.GetString(ArgContent) : Activity.GetString(contentResId);
            int    customViewResId = Arguments.GetInt(ArgCustomViewResId, -1);
            string positiveText    = positiveResId == -1 ? Arguments.GetString(ArgPositive, null) : Activity.GetString(positiveResId);
            string negativeText    = negativeResId == -1 ? Arguments.GetString(ArgNegative, null) : Activity.GetString(negativeResId);

            Cancelable = false;

            var builer = new MaterialDialog.Builder(Activity);

            if (customViewResId == -1)
            {
                builer.Content(content);
            }
            else
            {
                builer.CustomView(customViewResId, true);
            }

            builer
            .BackgroundColorRes(Resource.Color.dialog_background)
            .ContentColorRes(Resource.Color.dialog_content);
            if (!string.IsNullOrEmpty(positiveText))
            {
                builer.PositiveText(positiveText)
                .PositiveColorRes(Resource.Color.dialog_positive);
            }

            if (!string.IsNullOrEmpty(negativeText))
            {
                builer.NegativeText(negativeText)
                .NegativeColorRes(Resource.Color.dialog_negative);
            }

            builer.Callback(_resultCallback);
            return(builer.Build());
        }