From 1d305b8fe1f8bb5efe57e2e82ab22b806b3bba5d Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 3 Jun 2010 14:09:05 +0000 Subject: [PATCH] fix commit git-svn-id: https://osmand.googlecode.com/svn/trunk@130 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8 --- OsmAnd/AndroidManifest.xml | 2 +- OsmAnd/res/values/strings.xml | 1 + OsmAnd/src/com/osmand/activities/MapActivity.java | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) 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); } } }