summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorMark Lu <marklu@google.com>2016-08-30 18:12:30 -0700
committerMark Lu <marklu@google.com>2016-09-02 10:13:17 -0700
commit3404032dfc3ef9130806de62289da27b3de0be46 (patch)
tree241d18cfd363a73c90b3377ef080708c64b7d0fc /core/java
parent689c92db9d394c27678017242f266f98f5aebd6f (diff)
docs: Mention SwitchCompat in Switch and toggle documentation
Bug: 19574556 Change-Id: I2ebb504b144a442d90cfdf6ab4b407726a3b896f
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/widget/Switch.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/widget/Switch.java b/core/java/android/widget/Switch.java
index c4a17715896c..a01d65a1df20 100644
--- a/core/java/android/widget/Switch.java
+++ b/core/java/android/widget/Switch.java
@@ -65,6 +65,9 @@ import com.android.internal.R;
* {@link #setSwitchTextAppearance(android.content.Context, int) switchTextAppearance} and
* the related setSwitchTypeface() methods control that of the thumb.
*
+ * <p>{@link android.support.v7.widget.SwitchCompat} is a version of
+ * the Switch widget which runs on devices back to API 7.</p>
+ *
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/togglebutton.html">Toggle Buttons</a>
* guide.</p>
*