From 68c089664fc53fb97886054d1e0e09b16f561fa8 Mon Sep 17 00:00:00 2001 From: Philipp Schaefer Date: Sat, 4 May 2013 01:04:38 +0200 Subject: [PATCH] show a toast when entering fullscreen mode (see #237) --- mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java b/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java index 9206bd3c..449d8ea0 100644 --- a/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java +++ b/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java @@ -241,6 +241,8 @@ public class IITC_Mobile extends Activity { attrs.flags ^= WindowManager.LayoutParams.FLAG_FULLSCREEN; this.getWindow().setAttributes(attrs); this.fullscreen_mode = true; + // show a little toast for the user + Toast.makeText(this, "Press back button to exit fullscreen", Toast.LENGTH_SHORT).show(); return true; // get the users current location and focus it on map case R.id.locate: