diff options
author | Leon Scroggins <scroggo@google.com> | 2010-02-09 17:06:59 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-02-09 17:06:59 -0500 |
commit | af314e246dd6ee75b0d8d6b5a64d8443c7a8220d (patch) | |
tree | 201ede6aa78490099f9b1dbf976710d67e3dc936 /core/java/android/webkit/WebTextView.java | |
parent | 44d993798f8241b78229718bbc358046f590de7e (diff) | |
download | frameworks_base-af314e246dd6ee75b0d8d6b5a64d8443c7a8220d.zip frameworks_base-af314e246dd6ee75b0d8d6b5a64d8443c7a8220d.tar.gz frameworks_base-af314e246dd6ee75b0d8d6b5a64d8443c7a8220d.tar.bz2 |
Set the IME action to GO for normal textfields.
Diffstat (limited to 'core/java/android/webkit/WebTextView.java')
-rw-r--r-- | core/java/android/webkit/WebTextView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebTextView.java b/core/java/android/webkit/WebTextView.java index 68be08d..9e9cc7e 100644 --- a/core/java/android/webkit/WebTextView.java +++ b/core/java/android/webkit/WebTextView.java @@ -816,6 +816,9 @@ import java.util.ArrayList; int imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI | EditorInfo.IME_FLAG_NO_FULLSCREEN; switch (type) { + case 0: // NORMAL_TEXT_FIELD + imeOptions |= EditorInfo.IME_ACTION_GO; + break; case 1: // TEXT_AREA single = false; inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE @@ -851,6 +854,7 @@ import java.util.ArrayList; imeOptions |= EditorInfo.IME_ACTION_GO; break; default: + imeOptions |= EditorInfo.IME_ACTION_GO; break; } setHint(null); |