New advertisers: 50% off your first month with code FIRSTMONTHSee slots
ehmo avatar

Android Design Guidelines

Comprehensive Material Design 3 and Android platform guide for Jetpack Compose and XML, covering dynamic color, color roles, theming, and navigation.

skills.sh installs
2K
GitHub stars
650
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Material You theming, color roles, light and dark themes, custom seed palettes, and navigation patterns for compact, medium, and expanded screens
  • Includes Compose and XML examples for dynamic color with a static fallback below Android 12, plus Navigation Bar, Navigation Rail, and Navigation Drawer setups
  • Enforces rules such as pairing each foreground with its matching on color role, never hardcoding hex colors, and supporting both light and dark themes
  • Designed for Android developers building UI with Jetpack Compose or XML layouts who need Material Design 3 compliance

Install

$ npx -y skills add ehmo/platform-design-skills --skill android-design-guidelines -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

// 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 -> lightColorScheme()
    }
    MaterialTheme(
        colorScheme = colorScheme,
        typography = AppTypography,
        content = content
    )
}
<!-- XML: Dynamic color in themes.xml -->
<style name="Theme.App" parent="Theme.Material3.DayNight.NoActionBar">
    <item name="dynamicColorThemeOverlay">@style/ThemeOverlay.Material3.DynamicColors.DayNight</item>
</style>

Details

Repository
github.com/ehmo/platform-design-skills
Categories
Mobile Apps, Design & UI/UX
First seen
Apr 16, 2026

More from ehmo/platform-design-skills

All 8

Similar to Android Design Guidelines

More Mobile Apps