summaryrefslogtreecommitdiff
path: root/android/source/res/layout
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-11-30 12:00:52 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-11-30 14:39:59 +0100
commit4958e21332c19a8bc1704ff71489c2c991efb05c (patch)
tree5053e5e45750de111fd0f350181de902786bd141 /android/source/res/layout
parentf824c4f23c01510b12b53f33778bfa72f7a2ea57 (diff)
android: Simplify version info handling for about dialog
* Don't set and retrieve the placeholder text in/from the TexView in the about dialog, but use the string resource directly. * Add the HTML code directly in the string resource, rather than having to fiddle with that in the Java code. With this in place, only the version name and the commit hash need to be replaced. Since there is no placeholder text in the text view, it's also no longer necessary to explicitly set an empty string in case of an exception. Change-Id: Iaa78f5a6020bea4ed80a1b41d3b23cc8d313813c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160146 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android/source/res/layout')
-rw-r--r--android/source/res/layout/about.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/android/source/res/layout/about.xml b/android/source/res/layout/about.xml
index 8968c00d2695..8cce41cf076d 100644
--- a/android/source/res/layout/about.xml
+++ b/android/source/res/layout/about.xml
@@ -14,7 +14,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textIsSelectable="true"
- android:text="@string/app_version"
android:textSize="18sp"/>
<TextView