From 5bdac9a6be1716738bd90816247fd52672a16568 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 12 Dec 2023 12:15:40 +0100 Subject: Fix a few accessibility issues reported by pre check of Play store --- main/src/ui/res/layout/basic_settings.xml | 1 + main/src/ui/res/layout/log_silders.xml | 3 ++- main/src/ui/res/layout/server_card.xml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'main/src/ui/res/layout') diff --git a/main/src/ui/res/layout/basic_settings.xml b/main/src/ui/res/layout/basic_settings.xml index 8aa4c811..47f84e5f 100644 --- a/main/src/ui/res/layout/basic_settings.xml +++ b/main/src/ui/res/layout/basic_settings.xml @@ -21,6 +21,7 @@ style="@style/item" android:text="@string/profilename" android:textAppearance="?android:attr/textAppearanceSmall" + android:labelFor="@id/profilename" /> + android:text="@string/log_verbosity_level" + android:labelFor="@id/LogLevelSlider"/> @@ -364,6 +365,7 @@ android:id="@+id/warnung_custom" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:labelFor="@id/customoptions" android:text="@string/custom_connection_options_warng"/> Date: Fri, 26 Jul 2024 15:26:17 +0200 Subject: Move to viewpager2 --- main/src/ui/res/layout/main_activity.xml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'main/src/ui/res/layout') diff --git a/main/src/ui/res/layout/main_activity.xml b/main/src/ui/res/layout/main_activity.xml index b2fe2251..edc64ece 100644 --- a/main/src/ui/res/layout/main_activity.xml +++ b/main/src/ui/res/layout/main_activity.xml @@ -9,23 +9,22 @@ android:layout_height="match_parent" android:orientation="vertical"> - - + android:layout_height="wrap_content" + android:layout_gravity="top" + app:tabMode="scrollable" - - /> + - -- cgit v1.2.3 From c2d625eef66c2ede30f0e5c8d03ca279975eefc8 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 29 Jul 2024 17:21:39 +0200 Subject: Implement enough of edge-to-edge to work well on Android V --- main/src/ui/res/layout/about.xml | 1 + main/src/ui/res/layout/config_converter.xml | 204 +++++++++++++++------------- main/src/ui/res/layout/faq.xml | 20 +-- main/src/ui/res/layout/log_fragment.xml | 1 + main/src/ui/res/layout/log_window.xml | 21 ++- main/src/ui/res/layout/main_activity.xml | 47 ++++--- main/src/ui/res/layout/openssl_speed.xml | 72 +++++----- main/src/ui/res/layout/status_bg.xml | 5 + main/src/ui/res/layout/webview_internal.xml | 36 +++-- 9 files changed, 229 insertions(+), 178 deletions(-) create mode 100644 main/src/ui/res/layout/status_bg.xml (limited to 'main/src/ui/res/layout') diff --git a/main/src/ui/res/layout/about.xml b/main/src/ui/res/layout/about.xml index cd482996..f73768c7 100644 --- a/main/src/ui/res/layout/about.xml +++ b/main/src/ui/res/layout/about.xml @@ -9,6 +9,7 @@ android:layout_height="match_parent" android:paddingLeft="@dimen/stdpadding" android:paddingRight="@dimen/stdpadding" + android:clipToPadding="false" android:scrollbarStyle="outsideOverlay"> - - + android:layout_height="match_parent"> - - - - - - - - - - - - - - - - - - + android:orientation="vertical"> + + + + + + + + + + + + + + + + + + + + + + + + + - - + - + - - + + diff --git a/main/src/ui/res/layout/faq.xml b/main/src/ui/res/layout/faq.xml index 8cb79649..46b56e58 100644 --- a/main/src/ui/res/layout/faq.xml +++ b/main/src/ui/res/layout/faq.xml @@ -1,15 +1,15 @@ - - \ No newline at end of file + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/faq_recycler_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" + android:horizontalSpacing="@dimen/stdpadding" + android:paddingLeft="@dimen/stdpadding" + android:paddingRight="@dimen/stdpadding" + android:verticalSpacing="@dimen/stdpadding" /> \ No newline at end of file diff --git a/main/src/ui/res/layout/log_fragment.xml b/main/src/ui/res/layout/log_fragment.xml index df87d1c1..bac1fe94 100644 --- a/main/src/ui/res/layout/log_fragment.xml +++ b/main/src/ui/res/layout/log_fragment.xml @@ -35,6 +35,7 @@ /> \ No newline at end of file + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:ignore="MergeRootFrame"> + + + + + + + \ No newline at end of file diff --git a/main/src/ui/res/layout/main_activity.xml b/main/src/ui/res/layout/main_activity.xml index edc64ece..6e0a3de9 100644 --- a/main/src/ui/res/layout/main_activity.xml +++ b/main/src/ui/res/layout/main_activity.xml @@ -2,29 +2,40 @@ ~ Copyright (c) 2012-2016 Arne Schwabe ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt --> - - + android:layout_height="match_parent"> - - /> - + + + + + + + - + \ No newline at end of file diff --git a/main/src/ui/res/layout/openssl_speed.xml b/main/src/ui/res/layout/openssl_speed.xml index c23d3567..d19b88d2 100644 --- a/main/src/ui/res/layout/openssl_speed.xml +++ b/main/src/ui/res/layout/openssl_speed.xml @@ -2,39 +2,47 @@ ~ Copyright (c) 2012-2017 Arne Schwabe ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt --> - - - - - - - -