Package com. google. accompanist. insets
Types
ExperimentalAnimatedInsets
Link copied to clipboard
HorizontalSide
Link copied to clipboard
ImeNestedScrollConnection
Link copied to clipboard
class ImeNestedScrollConnection(view: View, scrollImeOffScreenWhenVisible: Boolean, scrollImeOnScreenWhenNotVisible: Boolean) : NestedScrollConnection
Content copied to clipboard
VerticalSide
Link copied to clipboard
ViewWindowInsetObserver
Link copied to clipboard
This class sets up the necessary listeners on the given view to be able to observe WindowInsetsCompat instances dispatched by the system.
WindowInsets
Link copied to clipboard
The main insets holder, containing instances of WindowInsets.Type which each refer to different types of system display insets.
Functions
coerceEachDimensionAtLeast
Link copied to clipboard
derivedWindowInsetsTypeOf
Link copied to clipboard
fun derivedWindowInsetsTypeOf(vararg types: WindowInsets.Type): WindowInsets.Type
Content copied to clipboard
Returns an instance of WindowInsets.Type whose values are calculated and derived from the WindowInsets.Type instances passed in to types.
imePadding
Link copied to clipboard
Apply additional space which matches the height of the WindowInsets.ime (on-screen keyboard) height along the bottom edge of the content.
navigationBarsHeight
Link copied to clipboard
navigationBarsPadding
Link copied to clipboard
inline fun Modifier.navigationBarsPadding(bottom: Boolean = true, start: Boolean = true, end: Boolean = true): Modifier
Content copied to clipboard
navigationBarsWidth
Link copied to clipboard
fun Modifier.navigationBarsWidth(side: HorizontalSide, additional: Dp = 0.dp): Modifier
Content copied to clipboard
Declare the preferred width of the content to match the width of the navigation bars, on the given side.
navigationBarsWithImePadding
Link copied to clipboard
Apply additional space which matches the height of the WindowInsets.ime (on-screen keyboard) height and WindowInsets.navigationBars.
ProvideWindowInsets
Link copied to clipboard
@Composable()
Content copied to clipboard
Applies any WindowInsetsCompat values to LocalWindowInsets, which are then available within content.
@Composable()
Content copied to clipboard
Applies any WindowInsetsCompat values to LocalWindowInsets, which are then available within content.
rememberImeNestedScrollConnection
Link copied to clipboard
@Composable()
Content copied to clipboard
rememberInsetsPaddingValues
Link copied to clipboard
@Composable()
Content copied to clipboard
statusBarsHeight
Link copied to clipboard
statusBarsPadding
Link copied to clipboard
systemBarsPadding
Link copied to clipboard
toPaddingValues
Link copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
Properties
LocalWindowInsets
Link copied to clipboard
Composition local containing the current WindowInsets.