package com.sunzn.action.box.sample;

import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.button).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                NoticeBox.newBox(MainActivity.this).setCancelable(true).setCanceledOnTouch(true).create().show();
                NoticeBox.newBox(MainActivity.this).setAudioListener(new NoticeBox.AudioListener() {
                    @Override
                    public void finish() {

                    }

                    @Override
                    public void cancel() {

                    }

                    @Override
                    public void dismiss() {

                    }

                }).setCancelable(true).setCanceledOnTouch(true).create().postDelayShow(1000);
            }
        });
    }
}

@@ -35,48 +35,8 @@
 e;%0A%0A
-import android.content.DialogInterface;%0A
 impo
@@ -1062,32 +1062,48 @@
 edOnTouch(true).
+setDimAmount(0).
 create().postDel

Update Sample