diff --git a/app/src/main/res/layout/activity_entry_edit.xml b/app/src/main/res/layout/activity_entry_edit.xml
index e06e83979..ace10a5c6 100644
--- a/app/src/main/res/layout/activity_entry_edit.xml
+++ b/app/src/main/res/layout/activity_entry_edit.xml
@@ -17,90 +17,100 @@
You should have received a copy of the GNU General Public License
along with KeePassDX. If not, see .
-->
-
+ app:layout_constraintTop_toBottomOf="@+id/toolbar"
+ app:layout_constraintBottom_toBottomOf="parent">
-
-
-
+ android:layout_height="wrap_content"
+ android:fitsSystemWindows="true">
-
-
-
+ android:layout_height="match_parent"
+ app:titleEnabled="false"
+ app:toolbarId="@+id/toolbar"
+ app:layout_scrollFlags="enterAlways|enterAlwaysCollapsed|scroll|exitUntilCollapsed|snap">
+
+ android:layout_width="wrap_content"
+ android:layout_height="?attr/actionBarSize"/>
+
+
-
-
-
-
-
-
+ android:layout_height="?attr/actionBarSize"
+ android:background="?attr/colorPrimary"
+ android:theme="?attr/toolbarAppearance"
+ android:popupTheme="?attr/toolbarPopupAppearance"
+ app:layout_collapseMode="pin"
+ tools:targetApi="lollipop" />
-
-
+
+
-
+
-
+
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
\ No newline at end of file