diff --git a/F-Droid/res/layout/about.xml b/F-Droid/res/layout/about.xml index 6a55dc9d2..3d3d49a18 100644 --- a/F-Droid/res/layout/about.xml +++ b/F-Droid/res/layout/about.xml @@ -1,101 +1,55 @@ - + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="24dp" + android:paddingRight="24dp" + android:paddingTop="4dp" + android:orientation="vertical"> - - - - - - + style="@style/CaptionText" /> + - + style="@style/CaptionText" /> - - - - - - - - - - - - + style="@style/BodyText" /> - + style="@style/CaptionText" /> + style="@style/BodyText" /> + + + + + + - - - + diff --git a/F-Droid/res/values/donottranslate.xml b/F-Droid/res/values/donottranslate.xml index 9a9e0c51c..4830e10f0 100644 --- a/F-Droid/res/values/donottranslate.xml +++ b/F-Droid/res/values/donottranslate.xml @@ -4,6 +4,7 @@ https://f-droid.org https://gitlab.com/fdroid/fdroidclient team@f-droid.org + GNU General Public License version\u00A03 or later https:// diff --git a/F-Droid/res/values/strings.xml b/F-Droid/res/values/strings.xml index d7a9a57f4..e37d5e5ee 100644 --- a/F-Droid/res/values/strings.xml +++ b/F-Droid/res/values/strings.xml @@ -47,12 +47,11 @@ No such app found. About F-Droid - Version: - Website: - Source: - E-Mail: - Originally based on Aptoide.\nReleased under the - GNU GPLv3 license. + Version + Website + Source code + Email + License Incompatible Installed diff --git a/F-Droid/src/org/fdroid/fdroid/FDroid.java b/F-Droid/src/org/fdroid/fdroid/FDroid.java index 84dcc8197..d5eda5c4b 100644 --- a/F-Droid/src/org/fdroid/fdroid/FDroid.java +++ b/F-Droid/src/org/fdroid/fdroid/FDroid.java @@ -289,10 +289,9 @@ public class FDroid extends ActionBarActivity { View view = LayoutInflater.from(this).inflate(R.layout.about, null); String versionName = Utils.getVersionName(this); - if (versionName == null) { - versionName = getString(R.string.unknown); + if (versionName != null) { + ((TextView) view.findViewById(R.id.version)).setText(versionName); } - ((TextView) view.findViewById(R.id.version)).setText(versionName); AlertDialog alrt = new AlertDialog.Builder(this).setView(view).create(); alrt.setTitle(R.string.about_title);