Merge "Added focus behavior changes to Build.VERSION documentation." into oc-mr1-dev

This commit is contained in:
Evan Rosky
2017-08-10 19:21:29 +00:00
committed by Android (Google) Code Review

View File

@@ -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;