Openable


interface Openable

Known direct subclasses
DrawerLayout

DrawerLayout acts as a top-level container for window content that allows for interactive "drawer" views to be pulled out from one or both vertical edges of the window.

SlidingPaneLayout

SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI.


A layout that has two states: opened and closed.

Summary

Public functions

Unit

Move the layout to the closed state.

Boolean

Check if the layout is currently in the opened state.

Unit

Move the layout to the opened state.

Public functions

close

Added in 1.1.0
fun close(): Unit

Move the layout to the closed state.

isOpen

Added in 1.1.0
fun isOpen(): Boolean

Check if the layout is currently in the opened state.

Returns
Boolean

true if the layout's state is considered opened.

open

Added in 1.1.0
fun open(): Unit

Move the layout to the opened state.