Composable Function

RemoteHorizontalPageIndicator

A horizontal page indicator curved along the bottom edge of the screen.

RemoteHorizontalPageIndicator

Source set: Android
@Composable
public fun RemoteHorizontalPageIndicator(
    state: RemotePageIndicatorState,
    modifier: RemoteModifier = RemoteModifier,
    selectedColor: RemoteColor = RemotePageIndicatorDefaults.selectedColor,
    unselectedColor: RemoteColor = RemotePageIndicatorDefaults.unselectedColor,
    backgroundColor: RemoteColor = RemotePageIndicatorDefaults.backgroundColor,
    indicatorSize: RemoteDp = RemotePageIndicatorDefaults.IndicatorSize,
    padding: RemoteDp = RemotePageIndicatorDefaults.PageIndicatorPadding,
)

A horizontal page indicator curved along the bottom edge of the screen. Pages are indicated as a Circle shape.

Example of a RemoteHorizontalPageIndicator curved along the bottom of the screen:

Parameters

state The state object of the page indicator.
modifier The modifier to be applied to the layout.
selectedColor The color of the selected page indicator.
unselectedColor The color of unselected page indicators.
backgroundColor The color of the page indicator background.
indicatorSize The size (diameter) of each circular indicator dot.
padding The padding of the indicator from the bottom edge of the screen.
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: