android-platform-design
Android Platform Design
Android apps feel native because they use Material 3 roles rather than hexes, respect the system back gesture, draw edge-to-edge with real WindowInsets, and adapt navigation by window size class — not by "phone vs tablet". Copying an iOS tab bar or a web hamburger onto Android reads as a port.
Full depth is in the SaglitzDesign MCP (
npx saglitzdesign-mcp). Related documents includematerial-3,android-app-design,android-patterns,accessibility,mobile-uxandbrand-on-native-platforms; useful tools includeaudit_android_ui(point it at the Android module directory — it reads the manifest, resource XML and Compose; directory only, no snippet mode),get_design_language,compare_design_languages(what to port from iOS and what not to) andget_component_recipe(component, "compose")for real Compose code; and the/saglitzdesign:build_mobile_app_uiand/saglitzdesign:port_to_platformworkflows.
Core Material 3 principles
- Roles, not hexes. Style with
primary,onPrimary,surfaceContainer…. A hardcodedColor(0xFF…)has no light, dark or contrast-level variant. - Type is roles too. Display / Headline / Title / Body / Label, each small/medium/large. Body Large is 16sp/24. A bare
fontSize = 17.spdoes not scale with the user's font size the way a style does. - Shape and motion are tokens. Expressive springs for spatial change; effect tokens (no bounce) for colour and opacity. Respect Reduce Motion by falling back to the standard scheme or fades.
- Dynamic color is a runtime extraction. Honor light/dark and contrast levels even when the brand scheme is static.