From 1a36f437432b88e6118f2dbca0181291084b897f Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Fri, 6 Oct 2017 17:05:49 +0300 Subject: [PATCH] Add margin for snap to road button; fix gravity of back button --- .../res/layout-land/fragment_plan_route.xml | 1 + .../layout/fragment_map_markers_dialog.xml | 75 ++++++++++--------- .../plus/mapmarkers/PlanRouteFragment.java | 6 ++ 3 files changed, 48 insertions(+), 34 deletions(-) diff --git a/OsmAnd/res/layout-land/fragment_plan_route.xml b/OsmAnd/res/layout-land/fragment_plan_route.xml index a969d9738c..d85da7b8fc 100644 --- a/OsmAnd/res/layout-land/fragment_plan_route.xml +++ b/OsmAnd/res/layout-land/fragment_plan_route.xml @@ -21,6 +21,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/dashboard_map_toolbar" android:background="?attr/bg_color" + android:minHeight="@dimen/dashboard_map_toolbar" app:contentInsetLeft="54dp" app:contentInsetStart="54dp"> diff --git a/OsmAnd/res/layout/fragment_map_markers_dialog.xml b/OsmAnd/res/layout/fragment_map_markers_dialog.xml index efdbeb931b..fafc9dc53b 100644 --- a/OsmAnd/res/layout/fragment_map_markers_dialog.xml +++ b/OsmAnd/res/layout/fragment_map_markers_dialog.xml @@ -7,49 +7,56 @@ android:layout_height="match_parent" android:orientation="vertical"> - + android:layout_height="@dimen/dashboard_map_toolbar"> - + android:minHeight="@dimen/dashboard_map_toolbar" + app:contentInsetLeft="54dp" + app:contentInsetStart="54dp"> - + android:orientation="horizontal"> - - + - + + + + + +