summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2014-06-16 12:57:16 -0700
committerAdam Powell <adamp@google.com>2014-06-16 12:57:16 -0700
commit206c6e85ab0bc08aa5feeef207969aac59d2d938 (patch)
tree8df2fe56ac8ed8d8f9a06d358c38c0cc143c6b7e /core/java/android/widget/TextView.java
parent05dc89bf3afeaab0cf6bec6fbeaab69c1c2cb73c (diff)
Add TextView#set/getShowSoftInputOnFocus
These APIs allow an application to suppress the default editable TextView focus gain behavior of displaying the IME. Useful in cases where an app provides an alternate way of entering content, such as a dialpad or calculator pad. Bug 11540727 Change-Id: I1abd98db6e1522a9655a42b6ee712f50a962ea00
Diffstat (limited to 'core/java/android/widget/TextView.java')
-rw-r--r--core/java/android/widget/TextView.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index 22f5e23e5168..71817c2a18d0 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -2727,7 +2727,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
/**
* Sets whether the soft input method will be made visible when this
* TextView gets focused. The default is true.
- * @hide
*/
@android.view.RemotableViewMethod
public final void setShowSoftInputOnFocus(boolean show) {
@@ -2738,7 +2737,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
/**
* Returns whether the soft input method will be made visible when this
* TextView gets focused. The default is true.
- * @hide
*/
public final boolean getShowSoftInputOnFocus() {
// When there is no Editor, return default true value