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

FocusHighlight

public interface FocusHighlight

androidx.leanback.widget.FocusHighlight


Interface for highlighting the item that has focus.

Summary

Constants

int ZOOM_FACTOR_LARGE

A large zoom factor, recommended for small item views.

int ZOOM_FACTOR_MEDIUM

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

int ZOOM_FACTOR_NONE

No zoom factor.

int ZOOM_FACTOR_SMALL

A small zoom factor, recommended for large item views.

int ZOOM_FACTOR_XSMALL

An extra small zoom factor.

Constants

ZOOM_FACTOR_LARGE

public static final int ZOOM_FACTOR_LARGE

A large zoom factor, recommended for small item views.

Constant Value: 3 (0x00000003)

ZOOM_FACTOR_MEDIUM

public static final int ZOOM_FACTOR_MEDIUM

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

Constant Value: 2 (0x00000002)

ZOOM_FACTOR_NONE

public static final int ZOOM_FACTOR_NONE

No zoom factor.

Constant Value: 0 (0x00000000)

ZOOM_FACTOR_SMALL

public static final int ZOOM_FACTOR_SMALL

A small zoom factor, recommended for large item views.

Constant Value: 1 (0x00000001)

ZOOM_FACTOR_XSMALL

public static final int ZOOM_FACTOR_XSMALL

An extra small zoom factor.

Constant Value: 4 (0x00000004)