diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-05-02 18:37:09 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-05-10 18:20:51 +0200 |
| commit | 96085791963ff0bfb1e50dc5769800648d887cdb (patch) | |
| tree | df931b77b406fbbf0a950c925a642fe01383e278 /main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java | |
| parent | a5b35087421a8dbaccca7f54cce71a590e0326ca (diff) | |
| download | cgeo-96085791963ff0bfb1e50dc5769800648d887cdb.zip cgeo-96085791963ff0bfb1e50dc5769800648d887cdb.tar.gz cgeo-96085791963ff0bfb1e50dc5769800648d887cdb.tar.bz2 | |
refactoring: use menu resources instead of code
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java')
| -rw-r--r-- | main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java b/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java index a98241f..dcff363 100644 --- a/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java +++ b/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java @@ -1,5 +1,6 @@ package cgeo.geocaching.maps.google; +import cgeo.geocaching.R; import cgeo.geocaching.activity.FilteredActivity; import cgeo.geocaching.maps.AbstractMap; import cgeo.geocaching.maps.CGeoMap; @@ -83,7 +84,9 @@ public class GoogleMapActivity extends MapActivity implements MapActivityImpl, F @Override public boolean superOnCreateOptionsMenu(Menu menu) { - return super.onCreateOptionsMenu(menu); + final boolean result = super.onCreateOptionsMenu(menu); + getMenuInflater().inflate(R.menu.map_activity, menu); + return result; } @Override |
