android-design-guidelines
Reference guide for Material Design 3 compliance on Android, covering dynamic color theming, semantic color roles, navigation patterns for different screen sizes, and Material You implementation. Includes rules and code examples for Compose and XML layouts.
Android Design Guidelines helps you build Material Design 3 compliant Android UI with Compose or XML layouts.
AI-generated summary based on this skill's SKILL.md
Install
ehmo/platform-design-skills/android
git clone https://github.com/ehmo/platform-design-skills
cp -r platform-design-skills/skills/android ~/.claude/skills/androidFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is android-design-guidelines and what does it cover?
android-design-guidelines is a reference guide for Material Design 3 compliance on Android, covering dynamic color theming, semantic color roles, navigation patterns for different screen sizes, and Material You implementation. It includes rules and code examples for both Compose and XML layouts, helping developers build modern, accessible Android UIs.
How do I set up Material 3 color roles and semantic theming?
android-design-guidelines explains how to implement dynamic color theming and semantic color roles in Material 3. The guide covers Material You implementation, showing how to define primary, secondary, tertiary, and neutral color roles, then apply them consistently across your app using both Jetpack Compose and XML resources for theme setup.
What are the best practices for jetpack compose UI?
android-design-guidelines provides Jetpack Compose UI best practices aligned with Material Design 3, including proper component usage, theme setup, and layout patterns. It covers Compose-specific guidance for building responsive interfaces, implementing Material 3 components, and following accessibility standards with semantic composables and content descriptions.
How can I design responsive layouts for phones, tablets, and foldables?
android-design-guidelines covers responsive layout design across all Android form factors. It explains window size classes, adaptive navigation patterns (bottom navigation for phones, navigation rail for tablets), and foldable-specific considerations. The guide includes examples for adjusting layouts based on screen dimensions and device capabilities.
What accessibility features does android-design-guidelines address?
android-design-guidelines emphasizes creating accessible Android apps with TalkBack support and keyboard navigation. It covers content descriptions, semantic composables, focus management, and keyboard shortcuts. The guide ensures your Material Design 3 implementation meets accessibility standards, making apps usable for all users.
How do I implement material design android components correctly?
android-design-guidelines provides detailed guidance on Material Design 3 component implementation, including navigation patterns, top app bars with scroll behavior, floating action buttons, bottom sheets, and more. It covers both Compose and XML approaches, with code examples showing proper usage, theming, and integration with Material You dynamic colors.
SKILL.md
rendered from the published skill — quoted content, verbatim
Android Platform Design Guidelines — Material Design 3
1. Material You & Theming [CRITICAL]
1.1 Dynamic Color
Enable dynamic color derived from the user's wallpaper. Dynamic color is the default on Android 12+ and should be the primary theming strategy.
```kotlin // Compose: Dynamic color theme @Composable fun AppTheme( darkTheme: Boolean = isSystemInDarkTheme(), dynamicColor: Boolean = true, content: @Composable () -> Unit ) { val colorScheme = when { dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> { val context = LocalContext.current if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context) } darkTheme -> darkColorScheme() else ->
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 4 files
skills/android/AGENTS.md
skills/android/SKILL.md
skills/android/metadata.json
skills/android/rules/_sections.md