From 29b6588452a8a57eccedf38ed5815723dfe1664b Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Thu, 29 Jun 2017 15:42:36 +0300 Subject: [PATCH] Add small fixes --- OsmAnd/res/layout/fragment_mapillary_filters.xml | 2 +- OsmAnd/res/values/strings.xml | 1 + .../net/osmand/plus/mapillary/MapillaryFiltersFragment.java | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/OsmAnd/res/layout/fragment_mapillary_filters.xml b/OsmAnd/res/layout/fragment_mapillary_filters.xml index 42a41bca3c..c199672912 100644 --- a/OsmAnd/res/layout/fragment_mapillary_filters.xml +++ b/OsmAnd/res/layout/fragment_mapillary_filters.xml @@ -384,7 +384,7 @@ android:background="?attr/selectableItemBackground" android:gravity="start|center_vertical" android:minWidth="0dp" - android:text="@string/shared_string_clear" + android:text="@string/shared_string_reset" android:textAlignment="textStart" android:textColor="?attr/color_dialog_buttons" /> diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index a3ee1bbbe3..4c7529c71e 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,7 @@ 3. All your modified/created strings are in the top of the file (to make easier find what\'s translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + Reset Reload Reload tiles to see up to date data. Tile cache diff --git a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryFiltersFragment.java b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryFiltersFragment.java index f6977bbe1b..31ba570af9 100644 --- a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryFiltersFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryFiltersFragment.java @@ -258,6 +258,7 @@ public class MapillaryFiltersFragment extends BaseOsmAndFragment { changeButtonState(apply, .5f, false); plugin.updateLayers(mapActivity.getMapView(), mapActivity); + hideKeyboard(); } }); @@ -276,8 +277,8 @@ public class MapillaryFiltersFragment extends BaseOsmAndFragment { settings.MAPILLARY_FILTER_FROM_DATE.set(0L); settings.MAPILLARY_FILTER_TO_DATE.set(0L); - changeButtonState(apply, .5f, false); plugin.updateLayers(mapActivity.getMapView(), mapActivity); + hideKeyboard(); } });