diff options
| author | 2017-08-10 19:21:29 +0000 | |
|---|---|---|
| committer | 2017-08-10 19:21:29 +0000 | |
| commit | 003bd7e3ec71284b46a706c2ac9e298b3ffea732 (patch) | |
| tree | 740fee353d1d05671bcebfbf914c7a9fba5846e7 | |
| parent | 0edb324403faacab0f6ead6c9970f916c5b9bdfe (diff) | |
| parent | 534de29749b02e02fcc9bec32aae04dad57e18fe (diff) | |
Merge "Added focus behavior changes to Build.VERSION documentation." into oc-mr1-dev
| -rw-r--r-- | core/java/android/os/Build.java | 10 |
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; |