]> cvs.zerfleddert.de Git - FreeShisen/blobdiff - src/de/cwde/freeshisen/ShisenShoActivity.java
minor cleanups, new release.
[FreeShisen] / src / de / cwde / freeshisen / ShisenShoActivity.java
index 88666da2697ddd567fb9f44b0ac51b370880daa0..ab6efe77721c1de93256492fabfbbd8f23f7f7d4 100644 (file)
@@ -28,8 +28,6 @@ public class ShisenShoActivity extends Activity {
                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;
@@ -94,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
@@ -106,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