瀏覽代碼

优化音频合成部分代码

Pq 1 年之前
父節點
當前提交
532d37cccd

+ 6 - 0
BaseLibrary/src/main/java/com/cooleshow/base/widgets/dialog/CommonConfirmDialog2.java

@@ -46,6 +46,12 @@ public class CommonConfirmDialog2 extends BaseFullDialog {
         mTvCancel = findViewById(R.id.tv_cancel);
         mTvConfirm = findViewById(R.id.tv_confirm);
         mTvTitle = findViewById(R.id.tv_title);
+        mTvCancel.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                dismiss();
+            }
+        });
     }
 
     public void setWidth(int width) {