aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/ui
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-05-28 07:02:08 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-05-28 07:02:08 +0200
commit41eb2aa0afe0fad2e23387a702b29f2eef8fec6c (patch)
treebe480f2eec98cb2e0e5101bbdf17e0d6ddddcf22 /main/src/cgeo/geocaching/ui
parent9dd3dc16cdd31a22b0633ca3d8c08a1c5209ce12 (diff)
downloadcgeo-41eb2aa0afe0fad2e23387a702b29f2eef8fec6c.zip
cgeo-41eb2aa0afe0fad2e23387a702b29f2eef8fec6c.tar.gz
cgeo-41eb2aa0afe0fad2e23387a702b29f2eef8fec6c.tar.bz2
#3903: send button in actionbar, signature as template
Diffstat (limited to 'main/src/cgeo/geocaching/ui')
-rw-r--r--main/src/cgeo/geocaching/ui/dialog/Dialogs.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/ui/dialog/Dialogs.java b/main/src/cgeo/geocaching/ui/dialog/Dialogs.java
index cb8926a..6a2f9a5 100644
--- a/main/src/cgeo/geocaching/ui/dialog/Dialogs.java
+++ b/main/src/cgeo/geocaching/ui/dialog/Dialogs.java
@@ -218,7 +218,19 @@ public final class Dialogs {
/**
* Show a message dialog with a single "OK" button.
- *
+ *
+ * @param context
+ * activity owning the dialog
+ * @param message
+ * message dialog content
+ */
+ public static void message(final Activity context, final int message) {
+ message(context, null, getString(message));
+ }
+
+ /**
+ * Show a message dialog with a single "OK" button.
+ *
* @param context
* activity owning the dialog
* @param title