diff --git a/OsmAnd/res/layout/plan_route_gpx.xml b/OsmAnd/res/layout/plan_route_gpx.xml index 98eba48c6f..f13179df58 100644 --- a/OsmAnd/res/layout/plan_route_gpx.xml +++ b/OsmAnd/res/layout/plan_route_gpx.xml @@ -8,7 +8,8 @@ android:orientation="horizontal" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" - android:paddingLeft="@dimen/list_content_padding"> + android:paddingLeft="@dimen/list_content_padding" + android:paddingRight="@dimen/list_content_padding"> + + \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenu.java index 40e57793be..71452ec197 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenu.java @@ -175,6 +175,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener { if (selected.size() > 0) { ApplicationMode next = selected.iterator().next(); settings.APPLICATION_MODE.set(next); + updateMenu(); mapActivity.getRoutingHelper().recalculateRouteDueToSettingsChange(); } } diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/RoutePreferencesMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/RoutePreferencesMenu.java index 6c9627e4f6..3518c09fe7 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/RoutePreferencesMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/RoutePreferencesMenu.java @@ -320,6 +320,8 @@ public class RoutePreferencesMenu { AndroidUtils.setTextPrimaryColor(mapActivity, (TextView) v.findViewById(R.id.GPXRouteTitle), nightMode); final TextView gpxSpinner = (TextView) v.findViewById(R.id.GPXRouteSpinner); AndroidUtils.setTextPrimaryColor(mapActivity, gpxSpinner, nightMode); + ((ImageView) v.findViewById(R.id.dropDownIcon)) + .setImageDrawable(app.getIconsCache().getContentIcon(R.drawable.ic_action_arrow_drop_down, !nightMode)); updateSpinnerItems(gpxSpinner); return v; }