diff --git a/OsmAnd/res/layout/favorite_edit_dialog.xml b/OsmAnd/res/layout/favorite_edit_dialog.xml
index c591527713..e080008d5a 100644
--- a/OsmAnd/res/layout/favorite_edit_dialog.xml
+++ b/OsmAnd/res/layout/favorite_edit_dialog.xml
@@ -31,11 +31,10 @@
android:layout_marginTop="@dimen/dialog_elements_vertical_margin"
android:text="@string/favourites_edit_dialog_category"/>
-
+ android:layout_height="wrap_content"/>