minor cleanups, new release.
authorgitknilch <gitknilch@cwde.de>
Sat, 9 Mar 2013 22:35:30 +0000 (23:35 +0100)
committergitknilch <gitknilch@cwde.de>
Sat, 9 Mar 2013 22:35:30 +0000 (23:35 +0100)
AndroidManifest.xml
res/values/strings.xml
src/de/cwde/freeshisen/ShisenShoActivity.java

index e4e0e4e773bf7d95c06451abeab20aff83fe1221..38ab4759b52d3b5c8b79b6a1c6f86062e7f0469c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="de.cwde.freeshisen"
-    android:versionCode="2"
+    android:versionCode="3"
     android:versionName="0.1" >
 
     <uses-sdk
index 357af262e4ab5c0bcab574ba214297200ee1d277..1b2152861b3e5140a35ae87587e24c89184c61e9 100644 (file)
@@ -7,7 +7,7 @@
     <string name="options">Options</string>
     <string name="about">About</string>
     <string name="aboutText">\n
-&#169; 2013 knilch.\n
+&#169; 2013 knilch - freeshisen@cwde.de\n
 Most of the gameplay code and application structure taken from ShisenSho:\n
 &#169; 2013 contact.proofofconcept@gmail.com\n
 Images taken from kshisen (Shisen Sho 1.5.1), from the package kdegames:\n
index 376e054c58799d5465d79ee13aacfd75a2af53d9..ab6efe77721c1de93256492fabfbbd8f23f7f7d4 100644 (file)
@@ -92,8 +92,9 @@ public class ShisenShoActivity extends Activity {
                PackageInfo pInfo;
                try {
                        pInfo = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_META_DATA);
-                       String aboutTitle = String.format("About %s", getString(R.string.app_name));
-                       String versionString = String.format("Version: %s", pInfo.versionName);
+                       String appname = getString(R.string.app_name);
+                       String aboutTitle = "About " + appname;
+                       String versionString = appname + " "+ pInfo.versionName;
                        String aboutText = getString(R.string.aboutText);
 
                        // Set up the TextView
@@ -104,7 +105,7 @@ public class ShisenShoActivity extends Activity {
                        // Set some padding
                        message.setPadding(5, 5, 5, 5);
                        // Set up the final string
-                       message.setText(versionString + "\n" + s);
+                       message.setText(versionString + s);
                        // Now linkify the text
                        Linkify.addLinks(message, Linkify.ALL);
 
Impressum, Datenschutz