builder.setMessage(R.string.clearhiscore_confirm_text);
builder.setTitle(R.string.clearhiscore_confirm_title);
- builder.setPositiveButton(R.string.ok,
+ builder.setPositiveButton(android.R.string.ok,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
// User clicked OK button - delete hiscores
editor.commit();
}
});
- builder.setNegativeButton(R.string.cancel,
+ builder.setNegativeButton(android.R.string.cancel,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
// User cancelled the dialog - nothing to do