package com.example.puntobip;

import android.app.Dialog;
import android.content.Context;
import android.widget.EditText;
/* loaded from: classes.dex */
public class TapDialog extends Dialog {
    private int tag;

    public TapDialog(Context context, String title) {
        super(context);
        this.tag = 0;
        setTitle(title);
        setCanceledOnTouchOutside(false);
        this.tag = 1;
        setContentView(R.layout.tap_dialog);
    }

    public TapDialog display() {
        show();
        return this;
    }

    public TapDialog displayCargar(String defaultValue) {
        this.tag = 2;
        setContentView(R.layout.tap_dialog_cargar);
        EditText etMontoCargar = (EditText) findViewById(R.id.etMontoCargar);
        etMontoCargar.setText(defaultValue);
        return display();
    }

    public TapDialog displayNumero(String defaultValue) {
        this.tag = 3;
        setContentView(R.layout.tap_dialog_numero);
        EditText etNumeroBip = (EditText) findViewById(R.id.etNumeroBip);
        etNumeroBip.setText(defaultValue);
        return display();
    }

    public int getTag() {
        return this.tag;
    }

    public void setTag(int tag) {
        this.tag = tag;
    }
}
