diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4a36a8c..3430ce4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -8,7 +8,7 @@
-
+
diff --git a/res/drawable-xhdpi/icon.png b/res/drawable-xhdpi/icon.png
new file mode 100644
index 0000000..f3bd50a
Binary files /dev/null and b/res/drawable-xhdpi/icon.png differ
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..fdf6f72
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,15 @@
+
+
+ KEGS
+ Apple IIgs Emulator
+
+ Checking for ROM
+ Checking for ROM...
+ Unable to obtain ROM. Find ROM.01 or ROM.03 and put it in the /KEGS/ directory on your SD Card.
+
+
+ - I don\'t own a GS
+ - I have a ROM 01
+ - I have a ROM 03
+
+
diff --git a/src/com/froop/app/kegs/KegsMain.java b/src/com/froop/app/kegs/KegsMain.java
index 66d3eca..63699d5 100644
--- a/src/com/froop/app/kegs/KegsMain.java
+++ b/src/com/froop/app/kegs/KegsMain.java
@@ -112,7 +112,7 @@ public class KegsMain extends Activity implements KegsKeyboard.StickyReset {
ProgressDialog dialog = new ProgressDialog(getActivity());
// TODO: should probably use an XML layout for this.
dialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
- dialog.setMessage("Checking for ROM...");
+ dialog.setMessage(getResources().getText(R.string.rom_check));
dialog.setProgressNumberFormat(null);
dialog.setProgressPercentFormat(null);
dialog.setIndeterminate(true);
@@ -126,7 +126,7 @@ public class KegsMain extends Activity implements KegsKeyboard.StickyReset {
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
- builder.setMessage("Unable to obtain ROM. Find ROM.01 or ROM.03 and put it in the /KEGS/ directory on your SD Card.");
+ builder.setMessage(getResources().getText(R.string.rom_error));
// TODO do getActivity().finish() on button clicks
return builder.create();
}
diff --git a/src/com/froop/app/kegs/RomDialogFragment.java b/src/com/froop/app/kegs/RomDialogFragment.java
index 6499fbe..cc8cb16 100644
--- a/src/com/froop/app/kegs/RomDialogFragment.java
+++ b/src/com/froop/app/kegs/RomDialogFragment.java
@@ -10,13 +10,9 @@ import android.util.Log;
public class RomDialogFragment extends DialogFragment {
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
- final CharSequence[] items = {"I don't own a GS",
- "I have a ROM 01",
- "I have a ROM 03"};
-
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
- builder.setTitle("Checking for ROM");
- builder.setSingleChoiceItems(items, -1,
+ builder.setTitle(R.string.rom_title);
+ builder.setSingleChoiceItems(R.array.rom_choices, -1,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int item) {
dismiss();