diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 6f92ccf7b..660e3d2e6 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -145,7 +145,7 @@
android:configChanges="keyboardHidden" />
+ android:windowSoftInputMode="adjustPan" />
= Build.VERSION_CODES.O_MR1) {
+ WindowCompat.setDecorFitsSystemWindows(window, false)
+ this.window.navigationBarColor = Color.TRANSPARENT
+ this.window.statusBarColor = Color.TRANSPARENT
+ container?.applyWindowInsets(WindowInsetPosition.TOP)
+ footer?.applyWindowInsets(WindowInsetPosition.BOTTOM)
+ }
+
stopService(Intent(this, ClipboardEntryNotificationService::class.java))
stopService(Intent(this, KeyboardEntryNotificationService::class.java))
diff --git a/app/src/main/java/com/kunzisoft/keepass/view/ViewUtil.kt b/app/src/main/java/com/kunzisoft/keepass/view/ViewUtil.kt
index 586d0830f..5b461b9a1 100644
--- a/app/src/main/java/com/kunzisoft/keepass/view/ViewUtil.kt
+++ b/app/src/main/java/com/kunzisoft/keepass/view/ViewUtil.kt
@@ -301,12 +301,7 @@ fun View.applyWindowInsets(position: WindowInsetPosition = WindowInsetPosition.B
WindowInsetPosition.TOP -> {
if (view.layoutParams is ViewGroup.MarginLayoutParams) {
view.updateLayoutParams {
- setPadding(
- paddingLeft,
- insets.top,
- paddingRight,
- paddingBottom,
- )
+ topMargin = insets.top
}
}
}
diff --git a/app/src/main/res/layout/activity_entry.xml b/app/src/main/res/layout/activity_entry.xml
index 2c8c1cd33..9a5fc8889 100644
--- a/app/src/main/res/layout/activity_entry.xml
+++ b/app/src/main/res/layout/activity_entry.xml
@@ -184,15 +184,15 @@
-
-
-
+
diff --git a/app/src/main/res/layout/activity_entry_edit.xml b/app/src/main/res/layout/activity_entry_edit.xml
index bc6fe156c..d2bf00171 100644
--- a/app/src/main/res/layout/activity_entry_edit.xml
+++ b/app/src/main/res/layout/activity_entry_edit.xml
@@ -30,80 +30,91 @@
+ android:layout_height="match_parent">
-
+ android:layout_height="match_parent">
+
-
-
-
-
+
-
-
-
+ android:layout_height="match_parent"
+ android:paddingTop="@dimen/card_view_margin_vertical"
+ android:paddingBottom="128dp">
+
+
+
+
+
+
-
+ app:layout_constraintBottom_toBottomOf="parent">
-
+
-
+
+
+
+
+
+
+
-