diff --git a/OsmAnd/res/drawable/back_location.png b/OsmAnd/res/drawable/back_location.png new file mode 100644 index 0000000000..3796497d06 Binary files /dev/null and b/OsmAnd/res/drawable/back_location.png differ diff --git a/OsmAnd/res/drawable/back_menu.png b/OsmAnd/res/drawable/back_menu.png new file mode 100644 index 0000000000..6fbe6fba5a Binary files /dev/null and b/OsmAnd/res/drawable/back_menu.png differ diff --git a/OsmAnd/res/drawable/reset.png b/OsmAnd/res/drawable/reset.png new file mode 100644 index 0000000000..1cdfd3f2a0 Binary files /dev/null and b/OsmAnd/res/drawable/reset.png differ diff --git a/OsmAnd/res/layout/main.xml b/OsmAnd/res/layout/main.xml index 0fae651b40..488a6351c6 100644 --- a/OsmAnd/res/layout/main.xml +++ b/OsmAnd/res/layout/main.xml @@ -7,8 +7,8 @@ - - + + diff --git a/OsmAnd/res/layout/search_address.xml b/OsmAnd/res/layout/search_address.xml index 734a1b388e..f7f6441873 100644 --- a/OsmAnd/res/layout/search_address.xml +++ b/OsmAnd/res/layout/search_address.xml @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -39,7 +39,7 @@ - + diff --git a/OsmAnd/src/com/osmand/activities/MapActivity.java b/OsmAnd/src/com/osmand/activities/MapActivity.java index f1d53f2645..1f50312c13 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.INVISIBLE); + backToLocation.setVisibility(View.VISIBLE); 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.INVISIBLE){ - backToLocation.setVisibility(View.INVISIBLE); + if(backToLocation.getVisibility() != View.VISIBLE){ + backToLocation.setVisibility(View.VISIBLE); } } }