diff options
| author | blafoo <github@blafoo.de> | 2012-03-09 21:57:40 +0100 |
|---|---|---|
| committer | blafoo <github@blafoo.de> | 2012-03-09 21:57:40 +0100 |
| commit | 5daaa3d454ff680e74fdbf8f673674d0eb339817 (patch) | |
| tree | 4d06855865b091fd56e54ccce0fd83582bc1d5e4 | |
| parent | c2d4c32b7fa94a2154c70bff0981c96aa1abf28e (diff) | |
| download | cgeo-5daaa3d454ff680e74fdbf8f673674d0eb339817.zip cgeo-5daaa3d454ff680e74fdbf8f673674d0eb339817.tar.gz cgeo-5daaa3d454ff680e74fdbf8f673674d0eb339817.tar.bz2 | |
Resolved merge error.
| -rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index 98a7f54..0272c27 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -6,6 +6,14 @@ import cgeo.geocaching.Settings; import cgeo.geocaching.StoredList; import cgeo.geocaching.UpdateDirectionCallback; import cgeo.geocaching.UpdateLocationCallback; +import cgeo.geocaching.cgBase; +import cgeo.geocaching.cgCache; +import cgeo.geocaching.cgCoord; +import cgeo.geocaching.cgDirection; +import cgeo.geocaching.cgGeo; +import cgeo.geocaching.cgWaypoint; +import cgeo.geocaching.cgeoapplication; +import cgeo.geocaching.cgeocaches; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.connector.ConnectorFactory; import cgeo.geocaching.connector.gc.GCBase; @@ -29,11 +37,38 @@ import cgeo.geocaching.maps.interfaces.OtherCachersOverlayItemImpl; import cgeo.geocaching.utils.CancellableHandler; import org.apache.commons.collections.CollectionUtils; -import org.apache.commons.collections.bidimap.AbstractDualBidiMap.View; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.HashCodeBuilder; -import android.support.v4.view.ViewPager.LayoutParams; +import android.app.Activity; +import android.app.ProgressDialog; +import android.content.Context; +import android.content.DialogInterface; +import android.content.Intent; +import android.content.res.Resources; +import android.graphics.drawable.Drawable; +import android.graphics.drawable.LayerDrawable; +import android.os.Bundle; +import android.os.Handler; +import android.os.Message; +import android.util.Log; +import android.view.Menu; +import android.view.MenuItem; +import android.view.SubMenu; +import android.view.View; +import android.view.ViewGroup.LayoutParams; +import android.widget.ImageSwitcher; +import android.widget.ImageView; +import android.widget.ImageView.ScaleType; +import android.widget.TextView; +import android.widget.ViewSwitcher.ViewFactory; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; /** * Class representing the Map in c:geo @@ -523,7 +558,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto Strategy strategy = Settings.getLiveMapStrategy(); SubMenu subMenuStrategy = menu.addSubMenu(0, SUBMENU_STRATEGY, 0, res.getString(R.string.map_strategy)); - subMenuStrategy.setHeaderTitle(res.getString(R.string.map_strategy)); + subMenuStrategy.setHeaderTitle(res.getString(R.string.map_strategy_title)); subMenuStrategy.add(2, MENU_STRATEGY_FASTEST, 0, Strategy.FASTEST.getL10n()).setCheckable(true).setChecked(strategy == Strategy.FASTEST); subMenuStrategy.add(2, MENU_STRATEGY_FAST, 0, Strategy.FAST.getL10n()).setCheckable(true).setChecked(strategy == Strategy.FAST); subMenuStrategy.add(2, MENU_STRATEGY_AUTO, 0, Strategy.AUTO.getL10n()).setCheckable(true).setChecked(strategy == Strategy.AUTO); |
