From 8b17b7dc85d0353c1357a3705de6de1f0703c16f Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sat, 29 Aug 2020 13:51:36 +0300 Subject: [PATCH] Fix finish point row visibility for follow track --- OsmAnd/res/layout/plan_route_info.xml | 2 +- .../plus/activities/MapActivityActions.java | 13 +++--- .../MapRouteInfoMenu.java | 45 +++++++++++++++---- .../MapRouteInfoMenuFragment.java | 2 +- 4 files changed, 45 insertions(+), 17 deletions(-) diff --git a/OsmAnd/res/layout/plan_route_info.xml b/OsmAnd/res/layout/plan_route_info.xml index 7e0644c2e6..cec85c4da2 100644 --- a/OsmAnd/res/layout/plan_route_info.xml +++ b/OsmAnd/res/layout/plan_route_info.xml @@ -328,7 +328,7 @@ Build.VERSION_CODES.LOLLIPOP) { AndroidUtils.setBackground(app, button, nightMode, R.drawable.btn_rounded_light, R.drawable.btn_rounded_dark); AndroidUtils.setBackground(app, buttonContainer, nightMode, R.drawable.ripple_rounded_light, R.drawable.ripple_rounded_dark); diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenuFragment.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenuFragment.java index 65f1bab915..537901f6f2 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenuFragment.java @@ -462,7 +462,7 @@ public class MapRouteInfoMenuFragment extends ContextMenuFragment { R.color.card_and_list_background_light, R.color.card_and_list_background_dark); AndroidUtils.setBackground(ctx, mainView.findViewById(R.id.dividerFromDropDown), isNightMode(), R.color.divider_color_light, R.color.divider_color_dark); - AndroidUtils.setBackground(ctx, mainView.findViewById(R.id.viaLayoutDivider), isNightMode(), + AndroidUtils.setBackground(ctx, mainView.findViewById(R.id.toLayoutDivider), isNightMode(), R.color.divider_color_light, R.color.divider_color_dark); AndroidUtils.setBackground(ctx, mainView.findViewById(R.id.dividerButtons), isNightMode(), R.color.divider_color_light, R.color.divider_color_dark);