summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2017-06-23 09:45:38 -0700
committer Evan Rosky <erosky@google.com> 2017-07-31 17:15:11 +0000
commit534de29749b02e02fcc9bec32aae04dad57e18fe (patch)
tree98d00ceec93c2ee3fbf53d6038697c0d8ec5367c
parent0cd8a31c1246747b06b73469c067bc290158a60e (diff)
Added focus behavior changes to Build.VERSION documentation.
Change-Id: I2c8f23f65ed6baabafd1a3a954be5f9f4341e2bc
-rw-r--r--core/java/android/os/Build.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index 0541a53c2473..7852125db6f0 100644
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -757,6 +757,16 @@ public class Build {
/**
* O.
+ *
+ * <p>Applications targeting this or a later release will get these
+ * new changes in behavior:</p>
+ * <ul>
+ * <li>{@link android.R.attr#focusable} defaults to a new state ({@code auto}) where it will
+ * inherit the value of {@link android.R.attr#clickable} unless explicitly overridden.</li>
+ * <li>A default theme-appropriate focus-state highlight will be supplied to all Views
+ * which don't provide a focus-state drawable themselves. This can be disabled by setting
+ * {@link android.R.attr#defaultFocusHighlightEnabled} to false.</li>
+ * </ul>
*/
public static final int O = 26;