private void showBuilder(String title) {
Builder builder = new Builder(this);
builder.setIcon(android.R.drawable.ic_dialog_info);
builder.setTitle(title);
builder.setPositiveButton("发送", new android.content.DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
builder.setNegativeButton("返回", new android.content.DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
View layout = getLayoutInflater().inflate(R.layout.dialog_comment, (ViewGroup) findViewById(R.id.comment_dialog_layout));
builder.setView(layout);
builder.show();
}
Builder builder = new Builder(this);
builder.setIcon(android.R.drawable.ic_dialog_info);
builder.setTitle(title);
builder.setPositiveButton("发送", new android.content.DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
builder.setNegativeButton("返回", new android.content.DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
View layout = getLayoutInflater().inflate(R.layout.dialog_comment, (ViewGroup) findViewById(R.id.comment_dialog_layout));
builder.setView(layout);
builder.show();
}