自定义dialog

// LayoutInflater inflater = getLayoutInflater();
  // View layout = inflater.inflate(R.layout.about, null);
  //
  // new
  // AlertDialog.Builder(this).setTitle(getString(R.string.about)).setView(layout)
  // .setPositiveButton(getString(R.string.ok), null)
  // .setNegativeButton(getString(R.string.cancel), null).show();

你可能感兴趣的:(自定义dialog)