X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/blobdiff_plain/27afcc3975e4251c42d5262f01191635c2eaa060..a8b770d4718735d02404c2c967a826040c6f3ebe:/src/de/cwde/freeshisen/ShisenShoActivity.java 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);