Merge pull request #3997 from osmandapp/mapillary_filters

Add small fixes
This commit is contained in:
vshcherb 2017-06-29 14:59:56 +02:00 committed by GitHub
commit 18ab7e9f6d
3 changed files with 4 additions and 2 deletions

View file

@ -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" />

View file

@ -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
-->
<string name="shared_string_reset">Reset</string>
<string name="shared_string_reload">Reload</string>
<string name="mapillary_menu_descr_tile_cache">Reload tiles to see up to date data.</string>
<string name="mapillary_menu_title_tile_cache">Tile cache</string>

View file

@ -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();
}
});