diff options
Diffstat (limited to 'main/src/ui')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java | 4 | ||||
-rw-r--r-- | main/src/ui/res/layout/about.xml | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java b/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java index 240fbe06..182c1a56 100644 --- a/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java +++ b/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java @@ -83,9 +83,13 @@ public class AboutFragment extends Fragment implements View.OnClickListener { TextView verO2 = v.findViewById(R.id.version_ovpn2); TextView verO3 = v.findViewById(R.id.version_ovpn3); + TextView osslVer = v.findViewById(R.id.openssl_version); verO2.setText(String.format(Locale.US, "OpenVPN version: %s", NativeUtils.getOpenVPN2GitVersion())); verO3.setText(String.format(Locale.US, "OpenVPN3 core version: %s", NativeUtils.getOpenVPN3GitVersion())); + osslVer.setText(String.format(Locale.US, "OpenSSL version: %s", NativeUtils.getOpenSSLVersion())); + + /* recreating view without onCreate/onDestroy cycle */ TextView translation = (TextView) v.findViewById(R.id.translation); diff --git a/main/src/ui/res/layout/about.xml b/main/src/ui/res/layout/about.xml index fb2497ff..cd482996 100644 --- a/main/src/ui/res/layout/about.xml +++ b/main/src/ui/res/layout/about.xml @@ -45,9 +45,13 @@ android:id="@+id/version_ovpn3" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="12sp" tools:text="OpenVPN3 core version 8df8718283" /> - + <TextView + android:id="@+id/openssl_version" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="12sp" + tools:text="OpenSSL version 8df8718283" /> <TextView android:layout_width="match_parent" |