diff options
author | blafoo <github@blafoo.de> | 2012-02-12 10:43:25 +0100 |
---|---|---|
committer | blafoo <github@blafoo.de> | 2012-02-12 10:43:25 +0100 |
commit | 03a7e62bb8186c553de1e06c92fceb18230a8941 (patch) | |
tree | 19c85b7395d4603627fb372a5140e60cbe39fe9a /main/src/cgeo/geocaching/cgeoinit.java | |
parent | 27cb6c53dbfb77f874c70f3804c1f1a9c2207cb0 (diff) | |
download | cgeo-03a7e62bb8186c553de1e06c92fceb18230a8941.zip cgeo-03a7e62bb8186c553de1e06c92fceb18230a8941.tar.gz cgeo-03a7e62bb8186c553de1e06c92fceb18230a8941.tar.bz2 |
logout button
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoinit.java')
-rw-r--r-- | main/src/cgeo/geocaching/cgeoinit.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java index 5a601ac..cd8a5a8 100644 --- a/main/src/cgeo/geocaching/cgeoinit.java +++ b/main/src/cgeo/geocaching/cgeoinit.java @@ -229,6 +229,14 @@ public class cgeoinit extends AbstractActivity { Button logMeIn = (Button) findViewById(R.id.log_me_in); logMeIn.setOnClickListener(new logIn()); + Button logMeOut = (Button) findViewById(R.id.log_me_out); + logMeOut.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + cgBase.logout(); + } + }); + TextView legalNote = (TextView) findViewById(R.id.legal_note); legalNote.setClickable(true); legalNote.setOnClickListener(new View.OnClickListener() { |