Object

ListHeaderDefaults

Source set: Android
public object ListHeaderDefaults

Properties

ContentPadding

Source set: Android
public val ContentPadding: PaddingValues =
        PaddingValues(HorizontalPadding, TopPadding, HorizontalPadding, HeaderBottomPadding)

The default content padding for ListHeader

SubHeaderContentPadding

Source set: Android
public val SubHeaderContentPadding: PaddingValues =
        PaddingValues(HorizontalPadding, TopPadding, HorizontalPadding, SubHeaderBottomPadding)

The default content padding for ListSubHeader

minimumTopListContentPadding

Source set: Android
public val minimumTopListContentPadding: Dp

The minimum top content padding for the list when a ListHeader is placed at the top. Recommended for use with androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope's androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, which allows items to choose a preferred content padding for the list. TransformingLazyColumn takes its contentPadding as the maximum of the preferred content padding values and its own contentPadding parameter.

minimumBottomListContentPadding

Source set: Android
public val minimumBottomListContentPadding: Dp

The minimum bottom content padding for the list when a ListHeader is placed at the bottom. Recommended for use with androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope's androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, which allows items to choose a preferred content padding for the list. TransformingLazyColumn takes its contentPadding as the maximum of the preferred content padding values and its own contentPadding parameter.

contentColor

Source set: Android
public val contentColor: Color

The default color for ListHeader

subHeaderContentColor

Source set: Android
public val subHeaderContentColor: Color

The default color for ListSubHeader

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: