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 slices ​

Components can display small, customizable search content called slices as part of search results.

Android slices: large search

Usage ​

Slices display rich content and actions on components, appearing as part of search results in the Google search app. They can display a variety of content types, such as text, images, and actions.

Principles ​


Slices focus on one task, or a set of related tasks, and highlight the most important information

Focused

Slices focus on one task, or a set of related tasks, and highlight the most important information.

Slices reflect content or features from your app

Related

Slices reflect content or features from your app.

Slices provide only the information and controls needed to complete a task

Relevant

Slices provide only the information and controls needed to complete a task.

Navigation ​

Slices provide navigation to a specific feature, or content, in an app.

Slices can provide navigation to specific items
Slices can provide navigation to specific items.

Task completion ​

Slices allow users to complete tasks inline, such as by displaying controls like toggles or sliders.

Slices can display checklists and other controls
Slices can display checklists and other controls.

Content discovery ​

Slices remind users of past interactions with an app’s content and features.

Slices can display rich content from past user interactions, such as videos
Slices can display rich content from past user interactions, such as videos.

When to use ​

Android’s Presenter determines the appropriate type of slice to display based on context. In search, the type of slice is influenced by how relevant a slice is to the search results.

Anatomy ​

Slices contain a header and one or more rows of interactive content. Various elements are grouped together to create a slice, such as a list, grid, or images.

Anatomy: header title - The title of the slice
1. Header title - The title of the slice
2. Header subtitle - Supplementary text
3. Header actions - Actions
4. Image (Optional) - An image related to a row’s content
5. Row title - A row description
6. Row subtitle - Supplementary row text
7. Row action - Actions that apply to a single row

Content ​


Do: make each slice relevant to the user

Do

Make each slice relevant to the user.

Don’t serve multiple purposes with a single slice

Don’t

Don’t serve multiple purposes with a single slice. Create separate slices for each use case.

Don’t place unrelated search terms or content in a slice

Don’t

Don’t place unrelated search terms or content in a slice.

Actions ​

Slices display a limited set of actions related to a specific task.

Do: provide a limited set of actions

Do

Provide a limited set of actions.

Don't: only show primary actions that relate to a specific task

Don’t

Only show primary actions that relate to a specific task.

Component types ​

Slices can be displayed in different sizes, depending on their usage and presentation.

Large slice ​

Large slices consist of a header and one or more rows of content (with corresponding actions).

A large slice
A large slice

Small slice ​

Small slices are equal in size to the header of a large slice. The header area (used for subtitles on large slices) can be replaced with a summary.

A small slice
A small slice

Behavior ​

Scrolling ​

Slices can contain overflow content, accessible from the “See more” button.

Slices can contain additional content in an overflow menu
Slices can contain additional content in an overflow menu.

Sensitive actions ​

For sensitive or personal tasks, inline actions can be performed in the slice UI but should not be confirmed there. Instead, they should provide a link that takes the user into the app for confirmation.

Placement ​

Slices appear as part of search results in Android. The placement of a slice is determined by the search ranking algorithm.

A large slice in search results
A large slice in search results

Search suggestions ​

A search query can include a slice in search suggestions.

A small slice in search suggestions
A small slice in search suggestions

Theming ​

Slices display the default system UI style.

Accent color ​

Slices can use an accent color to highlight important information or reinforce product branding.

Highlight important information using coloring, with appropriate color contrast
Highlight important information using coloring, with appropriate color contrast.

Don’t highlight multiple pieces of information, use multiple colors for highlighting, or highlight many elements

Don’t

Don’t highlight multiple pieces of information, use multiple colors for highlighting, or highlight many elements.

Specs ​

Header ​


Header spec

Row ​


Row spec

Grid ​


Grid spec

Image ​


Image spec

Slider ​


Specs slider spec

Progress Bar ​


Progress Bar
Pager
Previous pageAndroid permissions
Next pageAndroid split-screen

Released under the Apache-2.0

Copyright © 2018-Present Google

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

Released under the Apache-2.0

Copyright © 2018-Present Google