<string name="zerotime">00:00:00</string>
<string name="clearhiscore_confirm_title">Really clear best times?</string>
<string name="clearhiscore_confirm_text">This will clear all saved times. Hit "OK" if you really want to do this.</string>
- <string name="ok">OK</string>
- <string name="cancel">Cancel</string>
</resources>
\ No newline at end of file
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
PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
requestWindowFeature(Window.FEATURE_NO_TITLE);
- //getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
- // WindowManager.LayoutParams.FLAG_FULLSCREEN);
view = ShisenSho.app().getView();
ShisenSho.app().activity = this;