blennerSilva / AwesomeDialog

154 stars 35 forks source link

[Feature] Adding support for inserting custom views #21

Open Duna opened 5 years ago

Duna commented 5 years ago

.

Duna commented 5 years ago

For each AwesomeDialog type we can add the following code in order to support custom layouts:

public void addCustomView(View customView){
        if (dialogBody != null) {
            dialogBody.addView(customView);
        }
    }