summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2010-12-13 18:11:51 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-12-13 18:11:51 -0800
commit97d2dadffeb4f4b2345b0b879708411fd8c1155c (patch)
treec60aae5a4165a7fd25551b8649beafed647bbb8d /core
parent09f421481b73d7b27afc27eae1de5468fe4b4347 (diff)
parent6f100f3895a4b572e2f1d031867b23ca733e3570 (diff)
downloadframeworks_base-97d2dadffeb4f4b2345b0b879708411fd8c1155c.zip
frameworks_base-97d2dadffeb4f4b2345b0b879708411fd8c1155c.tar.gz
frameworks_base-97d2dadffeb4f4b2345b0b879708411fd8c1155c.tar.bz2
Merge "setTextIsSelectable documentation updated."
Diffstat (limited to 'core')
-rw-r--r--core/java/android/widget/TextView.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index 1dbb03d..160af21 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -4083,8 +4083,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
*
* Use {@link #setTextIsSelectable(boolean)} or the
* {@link android.R.styleable#TextView_textIsSelectable} XML attribute to make this TextView
- * selectable (the text is not selectable by default). Note that the content of an EditText is
- * always selectable.
+ * selectable (the text is not selectable by default).
+ *
+ * Note that the content of an EditText is always selectable.
*
* @return True if the text displayed in this TextView can be selected by the user.
*
@@ -4096,6 +4097,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
/**
* Sets whether or not (default) the content of this view is selectable by the user.
+ *
+ * Note that this methods affect the {@link #setFocusableInTouchMode(boolean)},
+ * {@link #setFocusable(boolean)}, {@link #setClickable(boolean)} and
+ * {@link #setLongClickable(boolean)} states and you may want to restore these if they were
+ * customized.
*
* See {@link #isTextSelectable} for details.
*