Logo Mobile Design Android

Mobile Design Android

Cộng đồng
ivan-magda
mobile-design-android

Dùng khi người dùng yêu cầu xây dựng màn hình Android, bố cục Jetpack Compose, thành phần Material hoặc bất kỳ giao diện ứng dụng Android nào. Cũng dùng khi tạo kiểu, thiết kế lại hoặc làm đẹp bất kỳ giao diện Android nào. Bao gồm Material 3 Expressive cho Android 16, chuyển động lò xo, hình dạng đa dạng và các mẫu thiết kế gốc của nền tảng.

Add to TypingMind

Tổng quan

Nhà phát hànhivan-magda
Kho mãmobile-design-skills
Tên kỹ năngmobile-design-android
Sao
11
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được ivan-magda công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Mobile Design Android trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ivan-magda/mobile-design-skills/tree/main/mobile-design-android
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ivan-magda/mobile-design-skills.git /tmp/mobile-design-skills
mkdir -p .claude/skills
cp -r /tmp/mobile-design-skills/mobile-design-android .claude/skills/mobile-design-android
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Mobile Design Android trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Mobile Design Android ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Mobile Design Android với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

This skill targets Android 16+ with Material 3 Expressive. For apps targeting older Android versions, fall back to standard Material 3 guidelines — those patterns are well-covered by general AI knowledge.

This skill guides creation of Android interfaces that feel genuinely designed for the platform — avoiding the generic "Material template" aesthetic that plagues AI-generated mobile UI. Every design decision should demonstrate understanding of Material 3 Expressive and the principles that separate professional apps from amateur ones.

The user provides Android UI requirements: a screen, flow, component, or full app interface. They may include context about purpose, audience, or technical constraints.

Design Thinking

Before generating any UI, commit to a clear design direction:

  • Purpose: What does this screen accomplish? What's the user's emotional state when they arrive here?
  • Personality: Pick a direction — vibrant/energetic, calm/focused, warm/approachable, bold/editorial, minimal/precise, playful/bouncy, industrial/utilitarian. M3 Expressive gives you far more personality tools than old Material — use them.
  • Hero moments: Identify the 1-2 elements on each screen that deserve compound expressiveness — shape morphing + spring animation + emphasized typography + rich color simultaneously. Everything else stays quieter.
  • Differentiation: What makes this feel like a designed app rather than a Material Components catalog demo? What single interaction would a user remember?

CRITICAL: M3 Expressive is not "add bounce to everything." It's a research-backed system where six design tactics — shape variety, rich color, typographic emphasis, strategic containment, fluid spring motion, and component flexibility — work together. The target feel is natural and physical — like pulling a book from a shelf where neighboring books slide slightly, or flicking a notification away and feeling a satisfying haptic rumble. Professional apps deploy these tactics selectively at hero moments. Amateur apps apply them uniformly everywhere.

M3 Expressive Design Guidelines

Focus on:

  • Motion — Springs, Not Tweens: Every animation uses spring physics, not tween(durationMillis). Springs handle interruption seamlessly by retargeting from current velocity. Use MaterialTheme.motionScheme tokens — never hardcode spring values. Two categories: Spatial specs (bouncy, damping ~0.6) for position, size, rotation, shape. Effects specs (critically damped, damping = 1.0) for color and opacity. Never apply spatial springs to color/opacity — alpha bouncing past 100% looks broken.
  • Motion Speed: Match speed token to element size. fastSpatialSpec for small components (switches, buttons). defaultSpatialSpec for partial-screen elements (sheets, drawers). slowSpatialSpec for full-screen transitions. A slow spring on a toggle feels sluggish. A fast spring on a page transition feels frantic.
  • Shapes — Embrace Tension: M3 Expressive adds 35 shapes beyond basic rectangles — Pill, Diamond, Cookie9Sided, SoftBurst, Clover4Leaf, Heart, and more. The key principle is deliberate contrast: mix sharp angular forms with soft rounded ones. Use pills for chips, rounded squares for FABs, larger radii for modals. Uniform shapes everywhere = template app. Use shape morphing for state transitions (Morph class between RoundedPolygon instances) rather than simple cross-fades.
  • Color — Use All 48 Roles: The expanded ColorScheme has 48 named roles. Use them. Primary for key actions, secondary and tertiary for supporting hierarchy, the 12 fixed accent colors for elements that must look identical across light/dark themes. 5 surface container levels (surfaceContainerLowest through surfaceContainerHighest) replace opacity-based elevation — use them for layered depth. Defaulting to primary-on-white for everything wastes the system that drives 4× faster element recognition.
  • Typography — 30 Styles with Emphasis: The type scale doubled to 30 styles. The 15 new *Emphasized variants (higher weight) exist for "editorial moments" — headlines, CTAs, key information. Using uniform bodyMedium throughout produces flat layouts. Pair headlineLargeEmphasized for hero content with bodyLarge for supporting text. The contrast between emphasized and baseline creates visual rhythm.
  • New Components — Replace Deprecated Patterns: SegmentedButton → ButtonGroup (connected buttons with overflow). BottomAppBar → Docked/Floating Toolbar (with integrated FAB). Stacked small FABs → FloatingActionButtonMenu (expandable with ToggleFloatingActionButton). Also: SplitButtonLayout for primary+secondary actions, LoadingIndicator with shape-morphing polygons instead of circular spinners.
  • FABs: Default to rounded square shape now, not circular. New size configurations available. The FAB is a personality anchor — customize its shape and animation.
  • Navigation: Pill-shaped active indicators on Navigation Bar/Rail. Active labels use secondary color, not onSurface. Progress indicators support wavy shape option and configurable track height.
  • Dynamic Color: Honor Material You wallpaper-extracted palettes via dynamicLightColorScheme/dynamicDarkColorScheme on Android 12+. Provide brand-aligned static fallback for older devices. Use Material Color Utilities to harmonize brand accents with the user's dynamic palette.
  • Edge-to-Edge & Predictive Back: Android 16 mandates edge-to-edge — content draws under system bars, requiring proper WindowInsets handling. Predictive back gestures show a preview of the destination as users swipe — your in-app transitions must harmonize with this system animation, not fight it.
  • Adaptive Layouts: Use window size classes — compact (<600dp) gets bottom nav and single pane, medium (600–840dp) gets navigation rail with list/detail, expanded (≥840dp) gets permanent drawer with multi-pane. Motion scales with screen: faster/tighter on phones, slightly slower/wider on tablets.

Accessibility is Non-Negotiable

  • 4.5:1 contrast for normal text, 3:1 for large text — enforce with semantic role pairings
  • Respect Remove animations — when ANIMATOR_DURATION_SCALE is 0, fall back to snap() or simple fades; switch from Expressive scheme to Standard
  • Respond to Android 14's UiModeManager.getContrast() for high-contrast themes
  • Touch targets minimum 48×48dp regardless of visual shape morphing
  • Ensure all spring animations are interruptible — this is a core accessibility benefit of the spring system

NEVER Do These (The Android "AI Slop" Markers)

  • tween(300) or any hardcoded tween for interruptible motion — this is the #1 anti-pattern; springs retarget smoothly, tweens snap jarringly
  • Spatial springs (bouncy) on color or opacity — alpha overshooting 100% or colors flashing past target is immediately noticeable
  • slowSpatialSpec on a toggle switch or fastSpatialSpec on a full-screen transition — match speed to element size
  • Uniform rounded rectangles on every element — the whole point of 35 shapes is variety and contrast
  • Only using primary color while ignoring secondary, tertiary, and all 12 fixed accent roles
  • Flat typography with bodyMedium everywhere — missing the emphasized variants eliminates the editorial quality that makes Expressive distinctive
  • Using stable 1.4.0 without checking for Expressive API availability — new components require the alpha track
  • Fixed orientation layouts — Android 16 ignores orientation restrictions at ≥600dp; adaptive layouts are mandatory
  • Circular FABs — M3 Expressive defaults to rounded square
  • Old SegmentedButton or BottomAppBar instead of their replacements
  • Identical card layouts in every list — vary containment, shape, and emphasis per content type
  • Ignoring MaterialTheme.motionScheme and hardcoding spring parameters inline

What Separates Professional from Template

Professional M3 Expressive apps combine tactics at hero moments: a detail-screen transition that simultaneously morphs shapes via Morph, shifts colors via effects springs, scales elements via spatial springs, and renders the headline in headlineLargeEmphasized. This compound expressiveness at key moments — with restraint everywhere else — is what separates designed apps from defaults.

Observable markers of professional work: custom MotionScheme tuned to brand personality, strategic use of MaterialShapes beyond basic rectangles, the full 48-role color system deployed across visual hierarchy, ButtonGroup and FloatingActionButtonMenu replacing deprecated components, and shape morphing on state transitions rather than simple visibility toggles.

The highest-impact adoption order: motion scheme first (biggest delta for least effort), then shape variety, then expanded color, then new components. Every spring token, shape morph, and emphasized text style is a lever — the craft is knowing which levers to pull and when.

Câu hỏi thường gặp

Kỹ năng AI Mobile Design Android làm được gì?

Dùng khi người dùng yêu cầu xây dựng màn hình Android, bố cục Jetpack Compose, thành phần Material hoặc bất kỳ giao diện ứng dụng Android nào. Cũng dùng khi tạo kiểu, thiết kế lại hoặc làm đẹp bất kỳ giao diện Android nào. Bao gồm Material 3 Expressive cho Android 16, chuyển động lò xo, hình dạng đa dạng và các mẫu thiết kế gốc của nền tảng.

Vì sao nên dùng Mobile Design Android trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Mobile Design Android là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Mobile Design Android trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ivan-magda/mobile-design-skills/tree/main/mobile-design-android. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Mobile Design Android?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Mobile Design Android với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Mobile Design Android với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Mobile Design Android có miễn phí không?

Có. Kỹ năng này được ivan-magda phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇