show a toast when entering fullscreen mode (see #237)
This commit is contained in:
parent
5c254c95b4
commit
68c089664f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user