diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index 4e4a9da4a3..463414223c 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -14,7 +14,7 @@ - + diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 7daec9c3af..e4a6558172 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -1,5 +1,6 @@ + List of favourite points Add to Favourites Select use native or english names Use english names diff --git a/OsmAnd/src/com/osmand/activities/MapActivity.java b/OsmAnd/src/com/osmand/activities/MapActivity.java index 1f50312c13..f1d53f2645 100644 --- a/OsmAnd/src/com/osmand/activities/MapActivity.java +++ b/OsmAnd/src/com/osmand/activities/MapActivity.java @@ -133,7 +133,7 @@ public class MapActivity extends Activity implements LocationListener, IMapLocat backToLocation.setOnClickListener(new OnClickListener(){ @Override public void onClick(View v) { - backToLocation.setVisibility(View.VISIBLE); + backToLocation.setVisibility(View.INVISIBLE); if(!isMapLinkedToLocation()){ getPreferences(MODE_WORLD_READABLE).edit().putBoolean(BACK_TO_LOCATION, true).commit(); if(locationLayer.getLastKnownLocation() != null){ @@ -213,8 +213,8 @@ public class MapActivity extends Activity implements LocationListener, IMapLocat } } } else { - if(backToLocation.getVisibility() != View.VISIBLE){ - backToLocation.setVisibility(View.VISIBLE); + if(backToLocation.getVisibility() != View.INVISIBLE){ + backToLocation.setVisibility(View.INVISIBLE); } } }