From 97846da0775bff6f06dd69ea6ac07a0dcd4b3418 Mon Sep 17 00:00:00 2001
From: kulikov0 <19497634+kulikov0@users.noreply.github.com>
Date: Thu, 25 Jun 2026 22:49:17 +0200
Subject: [PATCH] fix layout overlaps for bottom sheets
---
.../main/res/layout/sheet_action_autofill.xml | 243 ++++++-------
.../main/res/layout/sheet_action_choice.xml | 69 ++--
.../main/res/layout/sheet_action_confirm.xml | 89 ++---
.../src/main/res/layout/sheet_action_dns.xml | 157 +++++----
.../main/res/layout/sheet_action_input.xml | 139 ++++----
.../src/main/res/layout/sheet_action_menu.xml | 79 +++--
.../main/res/layout/sheet_action_proxy.xml | 329 +++++++++---------
.../src/main/res/layout/sheet_action_vp8.xml | 257 +++++++-------
.../main/res/layout/sheet_add_destination.xml | 245 ++++++-------
.../app/src/main/res/values/themes.xml | 1 +
10 files changed, 836 insertions(+), 772 deletions(-)
diff --git a/android-app/app/src/main/res/layout/sheet_action_autofill.xml b/android-app/app/src/main/res/layout/sheet_action_autofill.xml
index a33568a..dc16d82 100644
--- a/android-app/app/src/main/res/layout/sheet_action_autofill.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_autofill.xml
@@ -1,144 +1,151 @@
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
+
+
+
+
+
+
+ android:layout_marginTop="16dp"
+ android:background="@drawable/bg_destination_card"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingHorizontal="14dp"
+ android:paddingVertical="12dp">
-
+
+
+
+
+
+
+
-
-
+ android:layout_marginStart="8dp"
+ android:scaleX="0.85"
+ android:scaleY="0.85" />
-
-
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="6dp"
+ android:fontFamily="monospace"
+ android:letterSpacing="0.16"
+ android:textAllCaps="true"
+ android:text="@string/autofill_name_field_label"
+ android:textColor="@color/ink_3"
+ android:textSize="10sp" />
-
-
-
-
-
+ android:orientation="horizontal">
-
-
+
-
+
+
-
+ android:layout_marginTop="18dp"
+ android:orientation="horizontal">
-
+
+
+
+
-
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_choice.xml b/android-app/app/src/main/res/layout/sheet_action_choice.xml
index 14cc399..7426cb4 100644
--- a/android-app/app/src/main/res/layout/sheet_action_choice.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_choice.xml
@@ -1,38 +1,45 @@
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
-
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
+
+
+
+
+
+
+
+
+
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_confirm.xml b/android-app/app/src/main/res/layout/sheet_action_confirm.xml
index 86fff30..b0b1a8c 100644
--- a/android-app/app/src/main/res/layout/sheet_action_confirm.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_confirm.xml
@@ -1,54 +1,61 @@
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
-
+ android:layout_gravity="center_horizontal" />
-
+ android:textColor="@color/ink"
+ android:textSize="17sp"
+ android:textStyle="bold" />
+
+
+
+
+
+
+
+
+
-
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_dns.xml b/android-app/app/src/main/res/layout/sheet_action_dns.xml
index c264a20..31a330c 100644
--- a/android-app/app/src/main/res/layout/sheet_action_dns.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_dns.xml
@@ -1,91 +1,98 @@
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
-
-
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
+
+
-
-
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/dns_settings_title"
+ android:textColor="@color/ink"
+ android:textSize="17sp"
+ android:textStyle="bold" />
-
-
-
-
-
-
-
+ android:layout_marginTop="6dp"
+ android:text="@string/dns_sub"
+ android:textColor="@color/ink_3"
+ android:textSize="13sp" />
-
+ android:layout_marginTop="16dp"
+ android:orientation="vertical" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_input.xml b/android-app/app/src/main/res/layout/sheet_action_input.xml
index 247d0da..7a3aa5d 100644
--- a/android-app/app/src/main/res/layout/sheet_action_input.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_input.xml
@@ -1,78 +1,85 @@
-
-
-
-
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
-
+ android:layout_gravity="center_horizontal" />
-
+ android:textColor="@color/ink"
+ android:textSize="17sp"
+ android:textStyle="bold" />
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_menu.xml b/android-app/app/src/main/res/layout/sheet_action_menu.xml
index e1a4bd8..6950860 100644
--- a/android-app/app/src/main/res/layout/sheet_action_menu.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_menu.xml
@@ -1,44 +1,51 @@
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
-
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
+
+
+
+
+
+
+
+
+
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_proxy.xml b/android-app/app/src/main/res/layout/sheet_action_proxy.xml
index d7d4ae7..d3bf805 100644
--- a/android-app/app/src/main/res/layout/sheet_action_proxy.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_proxy.xml
@@ -1,176 +1,183 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_gravity="center_horizontal" />
-
-
-
+ android:text="@string/proxy_settings_title"
+ android:textColor="@color/ink"
+ android:textSize="17sp"
+ android:textStyle="bold" />
-
+ android:layout_marginTop="6dp"
+ android:text="@string/proxy_sub"
+ android:textColor="@color/ink_3"
+ android:textSize="13sp" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/android-app/app/src/main/res/layout/sheet_action_vp8.xml b/android-app/app/src/main/res/layout/sheet_action_vp8.xml
index 50dfd46..1f4d222 100644
--- a/android-app/app/src/main/res/layout/sheet_action_vp8.xml
+++ b/android-app/app/src/main/res/layout/sheet_action_vp8.xml
@@ -1,140 +1,147 @@
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="22dp">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_gravity="center_horizontal" />
-
-
-
+ android:text="@string/vp8_settings_title"
+ android:textColor="@color/ink"
+ android:textSize="17sp"
+ android:textStyle="bold" />
-
+ android:layout_marginTop="6dp"
+ android:text="@string/vp8_settings_sub"
+ android:textColor="@color/ink_3"
+ android:textSize="13sp" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/android-app/app/src/main/res/layout/sheet_add_destination.xml b/android-app/app/src/main/res/layout/sheet_add_destination.xml
index b0e3db0..d653e74 100644
--- a/android-app/app/src/main/res/layout/sheet_add_destination.xml
+++ b/android-app/app/src/main/res/layout/sheet_add_destination.xml
@@ -1,144 +1,151 @@
-
-
-
-
-
-
-
-
-
-
-
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ android:orientation="vertical"
+ android:paddingHorizontal="20dp"
+ android:paddingTop="2dp"
+ android:paddingBottom="24dp">
+
+
+
+
+
+
-
+ android:background="@drawable/bg_input"
+ android:hint="@string/sheet_field_name_hint"
+ android:inputType="text"
+ android:padding="12dp"
+ android:textColor="@color/ink"
+ android:textColorHint="@color/ink_3"
+ android:textSize="14sp" />
-
+
+
+
+ android:background="@drawable/bg_paste_chip"
+ android:clickable="true"
+ android:focusable="true"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingStart="8dp"
+ android:paddingEnd="10dp"
+ android:paddingVertical="5dp">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
diff --git a/android-app/app/src/main/res/values/themes.xml b/android-app/app/src/main/res/values/themes.xml
index 3030317..260121a 100644
--- a/android-app/app/src/main/res/values/themes.xml
+++ b/android-app/app/src/main/res/values/themes.xml
@@ -27,6 +27,7 @@