Change-Id: I00ccad95a4878cfe0994293c9b5d39b44172c262
Signed-off-by: gitknilch <gitknilch@cwde.de>
<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="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
</resources>
\ No newline at end of file
builder.setMessage(R.string.clearhiscore_confirm_text);
builder.setTitle(R.string.clearhiscore_confirm_title);
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
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
// User clicked OK button - delete hiscores
- 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
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);
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;
view = ShisenSho.app().getView();
ShisenSho.app().activity = this;