From 54d308ad9cbc7c1a415d5599129d29096594ee54 Mon Sep 17 00:00:00 2001 From: gitknilch Date: Sat, 9 Mar 2013 23:35:30 +0100 Subject: [PATCH] minor cleanups, new release. --- AndroidManifest.xml | 2 +- res/values/strings.xml | 2 +- src/de/cwde/freeshisen/ShisenShoActivity.java | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e4e0e4e..38ab475 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,7 +1,7 @@ Options About \n -© 2013 knilch.\n +© 2013 knilch - freeshisen@cwde.de\n Most of the gameplay code and application structure taken from ShisenSho:\n © 2013 contact.proofofconcept@gmail.com\n Images taken from kshisen (Shisen Sho 1.5.1), from the package kdegames:\n diff --git a/src/de/cwde/freeshisen/ShisenShoActivity.java b/src/de/cwde/freeshisen/ShisenShoActivity.java index 376e054..ab6efe7 100644 --- a/src/de/cwde/freeshisen/ShisenShoActivity.java +++ b/src/de/cwde/freeshisen/ShisenShoActivity.java @@ -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); -- 2.39.5