The second Android 11 Developer Preview is now available, test it out and share your feedback.

FocusHighlight

interface FocusHighlight
androidx.leanback.widget.FocusHighlight

Interface for highlighting the item that has focus.

Summary

Constants

static Int

A large zoom factor, recommended for small item views.

static Int

A medium zoom factor, recommended for medium sized item views.

static Int

No zoom factor.

static Int

A small zoom factor, recommended for large item views.

static Int

An extra small zoom factor.

Constants

ZOOM_FACTOR_LARGE

static val ZOOM_FACTOR_LARGE: Int

A large zoom factor, recommended for small item views.

Value: 3

ZOOM_FACTOR_MEDIUM

static val ZOOM_FACTOR_MEDIUM: Int

A medium zoom factor, recommended for medium sized item views.

Value: 2

ZOOM_FACTOR_NONE

static val ZOOM_FACTOR_NONE: Int

No zoom factor.

Value: 0

ZOOM_FACTOR_SMALL

static val ZOOM_FACTOR_SMALL: Int

A small zoom factor, recommended for large item views.

Value: 1

ZOOM_FACTOR_XSMALL

static val ZOOM_FACTOR_XSMALL: Int

An extra small zoom factor.

Value: 4