From f1c8c34bf329eaf7cd3612af75deb5e28b73dc32 Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 22 Jul 2019 12:27:01 +0300 Subject: [PATCH] Add time conditional routing setting to ui --- OsmAnd/res/values/strings.xml | 1 + OsmAnd/res/xml/navigation_settings.xml | 3 ++ .../SettingsNavigationActivity.java | 1 + .../RouteOptionsBottomSheet.java | 28 +++++++++++++++++ .../RoutingOptionsHelper.java | 30 +++++++++++++++++++ 5 files changed, 63 insertions(+) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 16dd773404..517b8c176e 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -11,6 +11,7 @@ Thx - Hardy --> + Consider temporary limitations Please turn on at least one application profile, to use this setting. Winter road Ice road diff --git a/OsmAnd/res/xml/navigation_settings.xml b/OsmAnd/res/xml/navigation_settings.xml index 92e4096190..7b5910a321 100644 --- a/OsmAnd/res/xml/navigation_settings.xml +++ b/OsmAnd/res/xml/navigation_settings.xml @@ -33,6 +33,9 @@ android:key="snap_to_road" android:summary="@string/snap_to_road_descr" android:title="@string/snap_to_road"/> +