Android Button Intent Clarification

Clarifies Android button resizing requests by distinguishing touch target from visual size.

3|1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/DevonStee/OpenFlip --skill android-button-intent-clarification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Android Button Intent Clarification
Source: https://github.com/DevonStee/OpenFlip/tree/main/.agent/skills/user/android-button-intent-clarification
Command: npx skills add https://github.com/DevonStee/OpenFlip --skill android-button-intent-clarification

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves ambiguity when users request to resize buttons, ensuring the distinction between touch target size and visual size is correctly understood and implemented, preventing UI/UX misalignments.

Core Features & Use Cases

  • Intent Clarification: Differentiates between touch target size and visual element size.
  • Ambiguity Resolution: Addresses user requests like "make the button bigger but keep the icon the same."
  • Use Case: When a user wants to improve button accessibility by increasing its tap area without altering the button's visual appearance, this skill guides the developer to implement a nested layout structure.

Quick Start

Use the Android Button Intent Clarification skill to ask the user if they want to increase the touch target size to 64dp while keeping the visual size at 48dp.

Frequently Asked Questions about Android Button Intent Clarification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I increase an Android button touch target without changing its visual size?

To increase an Android button touch target without altering visual size, you implement a nested layout structure. This separates the layout container handling touch events from the visual element dimensions, keeping the icon appearance unchanged while expanding the tap area.

What is the difference between touch target size and visual size in Android UI?

Touch target size is the layout container area registering user taps for accessibility, while visual size is the rendered dimension of the button element itself. Distinguishing them prevents UI/UX misalignments when resizing requests are ambiguous.

Why does my Android button tap area not match its visual boundaries?

Your Android button tap area and visual boundaries mismatch because the layout container size handling touch events differs from the visual element dimensions. This often happens when touch target and visual sizes are not explicitly separated during UI implementation.

What's the best way to implement a 64dp touch target while keeping a 48dp visual button in Android?

The best way to implement a 64dp touch target with a 48dp visual button is using a nested layout structure. This approach clarifies the intent between the layout container handling touch and the visual element, adhering to Android 14+ best practices.

Does Android 14 require separating touch target area from visual button dimensions?

Android 14+ best practices recommend separating touch target area from visual button dimensions to ensure accessibility. Differentiating the layout container size for touch from visual element dimensions prevents UI misalignments when users request button size adjustments.

When should I clarify button size intent during Android UI development?

You should clarify button size intent during Android UI development whenever user requests for button size adjustments are ambiguous. This ensures correct implementation by differentiating between the touch target area and the visual element dimensions.