Permalink
Browse files

close speak dialog on touch outside for pre-ics

  • Loading branch information...
1 parent f5f9e1d commit 665378ebd93d430e6a048bbf1c76aeac76443929 @jonasb jonasb committed Apr 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/se/forskningsavd/MainActivity.java
View
1 src/se/forskningsavd/MainActivity.java
@@ -80,6 +80,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
private void speak() {
final AlertDialog dialog = new AlertDialog.Builder(this).create();
+ dialog.setCanceledOnTouchOutside(true);
// editor
final EditText message = new EditText(this);

0 comments on commit 665378e

Please sign in to comment.