PanelContext

interface PanelContext

A context for panels that's provided when the Panel is attached by the system UI.

Properties

Link copied to clipboard
abstract val safeArea: LiveData<SafeArea?>

The area in which information important to the user should be displayed. Due to the nature of calculating the safe area, the value of this LiveData may be updated during a layout pass. If this is relevant to processing the safe area change, View.isInLayout can be consulted to determine if the value is being updated during a layout pass.

Link copied to clipboard
abstract val softInputAccessor: SoftInputAccessor

Allows interaction with the default Android soft input method, such as showing and hiding the standard on-screen Android keyboard.

Inheritors

Link copied to clipboard
Link copied to clipboard