androidx.compose.material
Interfaces
ButtonColors |
Represents the background and content colors used in a button in different states. |
ButtonElevation |
Represents the elevation for a button in different states. |
CheckboxColors |
Represents the colors used by the three different sections (checkmark, box, and border) of a Checkbox or TriStateCheckbox in different states. |
ElevationOverlay |
An ElevationOverlay is an overlay applied to the background color of Surface components, used to emphasize elevation in dark theme, where shadows are not as visible. |
FloatingActionButtonElevation |
Represents the elevation for a floating action button in different states. |
RadioButtonColors |
Represents the color used by a RadioButton in different states. |
SliderColors |
Represents the colors used by a Slider and its parts in different states |
SnackbarData |
Interface to represent one particular Snackbar as a piece of the SnackbarHostState |
SwitchColors |
Represents the colors used by a Switch in different states |
TextFieldColors |
Represents the colors of the input text, background and content (including label, placeholder, leading and trailing icons) used in a text field in different states. |
ThresholdConfig |
Interface to compute a threshold between two anchors/states in a swipeable. |
Classes
BackdropScaffoldState |
State of the BackdropScaffold composable. |
BottomDrawerState |
State of the BottomDrawer composable. |
BottomSheetScaffoldState |
State of the BottomSheetScaffold composable. |
BottomSheetState |
State of the persistent bottom sheet in BottomSheetScaffold. |
Colors |
Collection of colors in the Material color specification |
DismissState |
State of the SwipeToDismiss composable. |
DrawerState |
State of the ModalDrawer composable. |
FixedThreshold |
A fixed threshold will be at an offset away from the first anchor. |
FractionalThreshold |
A fractional threshold will be at a fraction of the way between the two anchors. |
ModalBottomSheetState |
State of the ModalBottomSheetLayout composable. |
ResistanceConfig |
Specifies how resistance is calculated in swipeable. |
ScaffoldState |
State for Scaffold composable component. |
Shapes |
Components are grouped into shape categories based on their size. |
SnackbarHostState |
State of the SnackbarHost, controls the queue and the current Snackbar being shown inside the SnackbarHost. |
SwipeableState |
State of the swipeable modifier. |
SwipeProgress |
Collects information about the ongoing swipe or animation in swipeable. |
TabPosition |
Data class that contains information about a tab's position on screen, used for calculating where to place the indicator that shows which tab is selected. |
Typography |
Class holding typography definitions as defined by the Material typography specification. |
Annotations
ExperimentalMaterialApi |
Enums
BackdropValue |
Possible values of BackdropScaffoldState. |
BottomDrawerValue |
Possible values of BottomDrawerState. |
BottomSheetValue |
Possible values of BottomSheetState. |
DismissDirection |
The directions in which a SwipeToDismiss can be dismissed. |
DismissValue |
Possible values of DismissState. |
DrawerValue |
Possible values of DrawerState. |
FabPosition |
The possible positions for a FloatingActionButton attached to a Scaffold. |
ModalBottomSheetValue |
Possible values of ModalBottomSheetState. |
SnackbarDuration |
Possible durations of the Snackbar in SnackbarHost |
SnackbarResult |
Possible results of the SnackbarHostState.showSnackbar call |
Top-level functions summary
Unit |
AlertDialog(onDismissRequest: () -> |