defaultFocusHighlightEnabled

fun Style.defaultFocusHighlightEnabled(defaultFocusHighlightEnabled: Boolean): Style

Sets whether this View should have a default focus highlight when it gets focus but doesn't have R.attr.state_focused defined in its background. Setting this property will cause the Component to be represented as a View at mount time if it wasn't already. Only effective on API 26+ (Android O); a no-op on older API levels.

See android.view.View.setDefaultFocusHighlightEnabled