diff --git a/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml b/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml index 1fd2e4b6d5..dabbd5dcea 100644 --- a/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml +++ b/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml @@ -35,7 +35,7 @@ listAdapter = adapter.createListAdapter(mapActivity, getMyApplication().getSettings().isLightContent()); diff --git a/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java index b93d5114c6..cb3aeed683 100644 --- a/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java @@ -48,7 +48,7 @@ public abstract class BottomSheetDialogFragment extends DialogFragment { final Window window = getDialog().getWindow(); WindowManager.LayoutParams params = window.getAttributes(); params.height = ViewGroup.LayoutParams.WRAP_CONTENT; -// params.gravity = Gravity.BOTTOM; + params.gravity = Gravity.BOTTOM; params.width = ViewGroup.LayoutParams.MATCH_PARENT; window.setAttributes(params); }