Material Design for XR
Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
December 12, 2024 | - | - | - | 1.0.0-alpha01 |
Declaring dependencies
To add a dependency on XR Compose Material3 core, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle
file for
your app or module:
Groovy
dependencies { // Use to implement XR Compose Material3 implementation "androidx.xr.compose.material3:material3:1.0.0-alpha01" }
Kotlin
dependencies { // Use to implement XR Compose Material3 implementation("androidx.xr.compose.material3:material3:1.0.0-alpha01") }
For more information about dependencies, see Add build dependencies.
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Version 1.0
Version 1.0.0-alpha01
December 12, 2024
androidx.xr.compose.material3:material3:1.0.0-alpha01
is released.
Features of Initial Release
Initial developer release of Material Design for XR. Using the existing Material 3 library, components and adaptive layouts are enhanced with spatial UI behaviors. You can build directly with M3 XR components, or adapt your current implementation by adding the EnableXrComponentOverrides
wrapper. Learn more in this developer guide.
Supported XR adaptations:
Navigation rail in any Compose layout, including
NavigationSuiteScaffold
will automatically adapt to XR Orbiter. For more information, read Material Design guidelines.Navigation bar in any Compose layout, including
NavigationSuiteScaffold
will automatically adapt to XR Orbiter. For more information, read Material Design guidelines.
Known Issues
- ListDetailPaneScaffold and SupportingPaneScaffold currently don’t support multiple spatial panels