snippets
snippets copied to clipboard
Main repository for snippets surfaced on developer.android.com.
Update `latest` with `main`
Material 1.3 introduces two experimental versions of the [Material 3 Carousel](https://m3.material.io/components/carousel/overview) - HorizontalMultiBrowseCarousel and HorizontalUncontainedCarousel. The [HorizontalMultiBrowseCarousel](https://developer.android.com/reference/kotlin/androidx/compose/material3/carousel/package-summary#HorizontalMultiBrowseCarousel(androidx.compose.material3.carousel.CarouselState,androidx.compose.ui.unit.Dp,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.foundation.gestures.TargetedFlingBehavior,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.foundation.layout.PaddingValues,kotlin.Function2)) shows at least one large, medium, and small carousel item. https://github.com/user-attachments/assets/b25bc4b3-f444-4647-9429-dd6d9d2935f6 The [HorizontalUncontainedCarousel](https://developer.android.com/reference/kotlin/androidx/compose/material3/carousel/package-summary#HorizontalUncontainedCarousel(androidx.compose.material3.carousel.CarouselState,androidx.compose.ui.unit.Dp,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.foundation.gestures.TargetedFlingBehavior,androidx.compose.foundation.layout.PaddingValues,kotlin.Function2))...
Add `MultiChoiceSegmentedButtonRow` and `SingleChoiceSegmentedButtonRow`
This will create a branch with the same name as the branch on the forked repository, and applies the spotless commit on this new branch.
Update adaptive layouts samples to navigable scaffolds - Updated adaptive-layout library to 1.1-beta 1 - Default snippets to use navigable versions of the List Detail and Support Pane Scaffolds -...
Created folder and file for stylus snippets.
Update `latest` with `main`
Status bar has a gradient behind it so scrolling content doesn't clash with the status bar icons. Navigation bar is translucent so that buttons are visible as content scrolls behind....