Skip to content
Material Design 2
Main Navigation
v3
v2
v1

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

Appearance

Sidebar Navigation

Material System

Introduction

Material studies

About our Material studies

Basil

Crane

Fortnightly

Owl

Rally

Reply

Shrine

Material Foundation

Environment

Surfaces

Elevation

Light and shadows

Layout

Understanding layout

Pixel density

Responsive layout grid

Spacing methods

Component behavior

Applying density

Navigation

Understanding navigation

Navigation transitions

Search

Color

The color system

Applying color to UI

Color usage

Text legibility

Dark theme

Typography

The type system

Understanding typography

Language support

Sound

About sound

Applying sound to UI

Sound attributes

Sound choreography

Iconography

Product icons

System icons

Animated icons

Shape

About shape

Shape and hierarchy

Shape as expression

Shape and motion

Applying shape to UI

Motion

Understanding motion

The motion system

Speed

Choreography

Customization

Interaction

Gestures

Selection

States

Communication

Confirmation & acknowledgement

Data formats

Data visualization

Empty states

Help & feedback

Imagery

Launch screen

Onboarding

Offline states

Writing

Machine learning

Machine learning patterns

Object detection: live camera

Object detection: static image

Barcode Scanning

Material Guidelines

Material Theming

Overview

Implementing your theme

Usability

Accessibility

Bidirectionality

Platform guidance

Android bars

Android fingerprint

Android haptics

Android icons

Android navigating between apps

Android notifications

Android permissions

Android slices

Android split-screen

Android swipe-to-refresh

Android text selection toolbar

Android widget

Cross-platform adaptation

Components

App bars: bottom

App bars: top

Backdrop

Banners

Bottom navigation

Buttons

Buttons: floating action button

Cards

Checkboxes

Chips

Data tables

Date pickers

Dialogs

Dividers

Image lists

Lists

Menus

Navigation drawer

Navigation rail

Progress indicators

Radio buttons

Sheets: bottom

Sheets: side

Sliders

Snackbars

Switches

Tabs

Text fields

Time pickers

Tooltips

On this page

Android haptics ​

Haptics enhance interactions and convey useful information to users through the sense of touch.

Usage ​

Haptics refers to the sensation delivered to users through a touch UI. Haptics can enhance the overall user experience by conveying and reinforcing information. They are frequently combined with audio and visual elements to complement interactions.

When to use ​


When to use: touch feedback

Touch feedback

Haptics provide touch feedback using:

  • Tap and click
  • Long press
When to use: attention cues

Attention cues

Haptics provide signals using:

  • Alarms and reminders
  • Notifications
  • Incoming calls
  • Error and success states

Haptics with audio and video ​

Haptics can be paired with other audio and visual elements, or used alone. For example, haptics can be the only method of feedback when a device has the sound turned off.

When paired with other elements, haptics should be synchronized to create powerful and delightful expressions.

Implementation ​

Haptics can be implemented in multiple ways. One way is through the commonly used motor-controlled vibration available on mobile devices.

Haptics may be constrained by technological and device limitations.

Principles ​

Haptics should be used thoughtfully. If haptics are overused, it can be bothersome and could potentially cause user discomfort. Only perform haptic feedback if the user has enabled haptics in their system’s settings.

Android haptic principle: follow system patterns

Follow system patterns

Apply haptics consistently by adhering to platform patterns (such as Android Haptic Feedback Constants).

Android haptic principle: focus on user need

Focus on user need

The number of new and unique haptics produced should be limited, and only used when system patterns are not defined.

Android haptic principle: design holistically

Design holistically

Select patterns that fit the interaction, context, and environment in which a pattern is used.


Android haptic principle: combine haptics with audio and visual

Combine haptics with audio and visual

Haptics communicate simpler information, and shouldn’t be used to convey complex information.

Android haptic principle: avoid unpleasant haptics

Avoid unpleasant haptics

Use simple haptic patterns, avoiding long or jarring vibrations if alternative haptic designs are possible.

Android haptic principle: use patterns predictably

Use patterns predictably

Use standard patterns in the ways they were intended, so users don’t get confused.


Android Haptic Feedback Constants

Android standard system patterns used for performing haptic feedback

Related link

VibrationEffect

VibrationEffect describes a haptic effect to be performed by a Vibrator

Related link

Pager
Previous pageAndroid fingerprint
Next pageAndroid icons

Released under the Apache-2.0

Copyright © 2018-Present Google

https://m2.material.io/design/platform-guidance/android-haptics.html

Released under the Apache-2.0

Copyright © 2018-Present Google