diff options
author | SammysHP <sven@sammyshp.de> | 2012-03-17 13:00:57 +0100 |
---|---|---|
committer | SammysHP <sven@sammyshp.de> | 2012-03-17 13:00:57 +0100 |
commit | d54cd734f7168367eaec33db6a7239a038577d24 (patch) | |
tree | 59fbbdcc7395a494e2440127b9904cfb67555df3 /main/src | |
parent | f8aaf7badee6dce926ac0906a21b39c2ef8afa63 (diff) | |
download | cgeo-d54cd734f7168367eaec33db6a7239a038577d24.zip cgeo-d54cd734f7168367eaec33db6a7239a038577d24.tar.gz cgeo-d54cd734f7168367eaec33db6a7239a038577d24.tar.bz2 |
Add icon for strategy menu
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index b44d87e..b73e7c5 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -613,7 +613,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto menu.add(0, MENU_TRAIL_MODE, 0, res.getString(R.string.map_trail_hide)).setIcon(R.drawable.ic_menu_trail); Strategy strategy = Settings.getLiveMapStrategy(); - SubMenu subMenuStrategy = menu.addSubMenu(0, SUBMENU_STRATEGY, 0, res.getString(R.string.map_strategy)); + SubMenu subMenuStrategy = menu.addSubMenu(0, SUBMENU_STRATEGY, 0, res.getString(R.string.map_strategy)).setIcon(android.R.drawable.ic_menu_preferences); 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); |