summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/AlertMaker.java
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-09-02 12:21:54 +0800
committerTeddy <ted.sybil@gmail.com>2013-09-02 12:21:54 +0800
commit25ff8426f51ee569b35fcb7d014a9f96d8a9d6a3 (patch)
treede813dc86513d8f9b09dcb932d3e204bcc386db9 /client/Piztor/src/com/macaroon/piztor/AlertMaker.java
parente13b38f847050b4ff93bf111104a927a0f2d57b5 (diff)
parent66ca6be0ab77ae98b2eef7180fb98f521037b733 (diff)
Merge branch 'master' of github.com:Determinant/piztor
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/AlertMaker.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/AlertMaker.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/AlertMaker.java b/client/Piztor/src/com/macaroon/piztor/AlertMaker.java
index eec01f5..16e15db 100644
--- a/client/Piztor/src/com/macaroon/piztor/AlertMaker.java
+++ b/client/Piztor/src/com/macaroon/piztor/AlertMaker.java
@@ -51,8 +51,9 @@ public class AlertMaker {
private GeoPoint markerPoint;
private MapMaker mapMaker;
private long timestamp;
- int mHour;
- int mMinute;
+ int mHour;
+ int mMinute;
+ myApp app;
public AlertMaker(Context cc, MapMaker mm) {
context =cc;
@@ -192,7 +193,7 @@ public void showRemoveMarkerAlert() {
LayoutInflater infaler = LayoutInflater.from(context);
final LinearLayout layout = (LinearLayout)infaler.inflate(R.layout.checkindialog, null);
checkinDialog.setView(layout);
- checkinDialog.setNeutralButton("取消", new DialogInterface.OnClickListener() {
+ checkinDialog.setNeutralButton("确定", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
InputMethodManager im = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
im.hideSoftInputFromWindow(layout.getWindowToken(), 0);