android Diglog去除边框和默认背景

AlertDialog.Builder builder = new AlertDialog.Builder(mContext);
View view = LayoutInflater.from(mContext).inflate(R.layout.dialog_atts, null);

AlertDialog dialog = builder.show();
dialog.getWindow().setContentView(view);

你可能感兴趣的:(android)