From fea8027f679bf6031342f3972cab7c32ad6e095e Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 12 Mar 2021 15:50:04 +0100 Subject: Add End of service and privacy policy in about dialog This is a common requirement of Google play store. Even though this app should not really need them and therefore the content is pretty short and redundant. --- main/src/ui/res/layout/about.xml | 246 +++++++++++++++++++++------------------ 1 file changed, 131 insertions(+), 115 deletions(-) (limited to 'main/src/ui') diff --git a/main/src/ui/res/layout/about.xml b/main/src/ui/res/layout/about.xml index acb1506f..fb2497ff 100644 --- a/main/src/ui/res/layout/about.xml +++ b/main/src/ui/res/layout/about.xml @@ -1,112 +1,127 @@ - - - - + android:paddingLeft="@dimen/stdpadding" + android:paddingRight="@dimen/stdpadding" + android:scrollbarStyle="outsideOverlay"> - + android:layout_height="match_parent" + android:orientation="vertical"> - + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginVertical="12sp" + android:autoLink="all" + + android:text="@string/copyright_blinktgui" /> + - + - + android:layout_height="wrap_content" + android:layout_marginVertical="12sp" + android:autoLink="all" + android:text="@string/copyright_logo" /> + + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginVertical="12sp" + android:autoLink="all" + android:text="@string/copyright_guicode" /> - + android:id="@+id/translation" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:autoLink="all" + + tools:ignore="SelectableText" /> + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="12sp" + android:text="@string/privpolicy" + android:textAppearance="?android:attr/textAppearanceMedium" /> + + - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="12sp" + android:text="@string/eol_notice_header" + android:textAppearance="?android:attr/textAppearanceMedium" /> + + - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="24sp" + android:layout_marginBottom="12sp" + android:text="@string/copyright_others" /> - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/openvpn" + android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/opevpn_copyright" /> + android:layout_width="match_parent" + android:layout_height="20sp" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/file_dialog" + android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/copyright_file_dialog" /> + android:layout_width="match_parent" + android:layout_height="20sp" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/lzo" + android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/lzo_copyright" /> + android:layout_width="match_parent" + android:layout_height="20sp" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/openssl" + android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/copyright_openssl" /> + android:layout_width="match_parent" + android:layout_height="20sp" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/bouncy_castle" + android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/copyright_bouncycastle" /> + android:layout_width="match_parent" + android:layout_height="150dp" /> + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/full_licenses" + android:textAppearance="?android:attr/textAppearanceLarge" /> + android:id="@+id/full_licenses" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center_horizontal" /> -- cgit v1.2.3