aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching
diff options
context:
space:
mode:
authorSammysHP <sven@sammyshp.de>2011-11-17 20:43:28 +0100
committerSammysHP <sven@sammyshp.de>2011-11-17 21:08:54 +0100
commitae3addc34294cb8f2736a395454f451d263a3d52 (patch)
tree7e55c3590d7dcc541590d908806c63633eed0739 /main/src/cgeo/geocaching
parentcec86a63af5bbe08cbe1c66492a52fd3d8b8b8e4 (diff)
downloadcgeo-ae3addc34294cb8f2736a395454f451d263a3d52.zip
cgeo-ae3addc34294cb8f2736a395454f451d263a3d52.tar.gz
cgeo-ae3addc34294cb8f2736a395454f451d263a3d52.tar.bz2
New: Manual-button in coordinate-dialog
Closes #298
Diffstat (limited to 'main/src/cgeo/geocaching')
-rw-r--r--main/src/cgeo/geocaching/cgeocoords.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeocoords.java b/main/src/cgeo/geocaching/cgeocoords.java
index 3922aec..12530d8 100644
--- a/main/src/cgeo/geocaching/cgeocoords.java
+++ b/main/src/cgeo/geocaching/cgeocoords.java
@@ -2,6 +2,7 @@ package cgeo.geocaching;
import cgeo.geocaching.Settings.coordInputFormatEnum;
import cgeo.geocaching.activity.AbstractActivity;
+import cgeo.geocaching.activity.ActivityMixin;
import cgeo.geocaching.geopoint.Geopoint;
import cgeo.geocaching.geopoint.GeopointFormatter;
import cgeo.geocaching.geopoint.GeopointParser.ParseException;
@@ -69,6 +70,13 @@ public class cgeocoords extends Dialog {
setContentView(R.layout.coords);
+ findViewById(R.id.actionBarManualbutton).setOnClickListener(new View.OnClickListener() {
+
+ public void onClick(View view) {
+ ActivityMixin.goManual(context, "c:geo-geocoordinate-input");
+ }
+ });
+
spinner = (Spinner) findViewById(R.id.spinnerCoordinateFormats);
final ArrayAdapter<CharSequence> adapter =
ArrayAdapter.createFromResource(context,