styles
Installation
SKILL.md
Limitations
- Warn the user that this skill is EXPERIMENTAL and requires updating to alpha version of Compose and opting in to the Experimental APIs.
- This skill only supports custom UI components and custom themes.
- This skill does not support Material Design component Styles.
Prerequisites
1. Upgrade dependencies
- The project must use
compileSdkversion 37 or higher. - The project must use
androidx.compose.foundation:foundationversion1.12.0-alpha01or higher. - Alternatively, the project must use Compose BOM version
2026.04.01or higher. - The API requires this exact package:
import androidx.compose.foundation.style.Style
2. Configure compiler options to enable experimental API
Related skills
More from android/skills
r8-analyzer
Analyzes Android build files and R8 keep rules to identify redundancies,
342navigation-3
Learn how to install and migrate to Jetpack Navigation 3, and how to
335edge-to-edge
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge
314migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View to Jetpack
304play-billing-library-version-upgrade
Use this skill when upgrading or migrating an Android project from any
240display-ai-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected applications for Android
87