diff --git a/app/src/main/res/layout/fragment_entry_edit.xml b/app/src/main/res/layout/fragment_entry_edit.xml
index 77a72bf55..9e1e099d1 100644
--- a/app/src/main/res/layout/fragment_entry_edit.xml
+++ b/app/src/main/res/layout/fragment_entry_edit.xml
@@ -17,28 +17,24 @@
You should have received a copy of the GNU General Public License
along with KeePassDX. If not, see .
-->
-
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+ android:layout_height="wrap_content"/>
+ style="?attr/cardViewStyle">
-
+