Skip to content
Material Design 1
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 Design

Environment

Material properties

Elevation & shadows

What's new

Motion

Material motion

Duration & easing

Movement

Transforming material

Choreography

Creative customization

Style

Color

Icons

Imagery

Typography

Writing

Layout

Principles

Units & measurements

Metrics & keylines

Structure

Responsive UI

Split screen

Components

Bottom navigation

Bottom sheets

Buttons

Buttons: Floating Action Button

Cards

Chips

Data tables

Dialogs

Dividers

Expansion panels

Grid lists

Lists

Lists: Controls

Menus

Pickers

Progress & activity

Selection controls

Sliders

Snackbars & toasts

Steppers

Subheaders

Tabs

Text fields

Toolbars

Tooltips

Widgets

Patterns

Confirmation & acknowledgement

Data formats

Empty states

Errors

Fingerprint

Gestures

Help & feedback

Launch screens

Loading images

Navigation

Navigation drawer

Navigational transitions

Notifications

Offline states

Permissions

Scrolling techniques

Search

Selection

Settings

Swipe to refresh

Growth & communications

Introduction

Onboarding

Feature discovery

Gesture education

Usability

Accessibility

Bidirectionality

Platforms

Platform adaptation

Android

Resources

Color palettes

Devices

Layout templates

Roboto & Noto fonts

Sticker sheets & icons

Shadows

On this page

Scrolling techniques ​

Scrolling techniques affect how content scrolls in relation to the app bar.

The following patterns describe the elevations at which content should scroll, how to size flexible space, and when to anchor specific elements.

App bar scrollable regions

Status bar
Toolbar
Tab bar/search bar
Flexible space

Material Design: Scrolling techniques and app bar relationship

App bar scrollable regions ​

When designing scrolling behavior, app bars contain four main regions (referred to as blocks) that comprise the scrolling structure:

  • Status bar
  • Tool bar
  • Tab bar/search bar
  • Flexible space: space to accommodate a desired aspect ratio for images or extended app bars
Material Design app bar: status, navigation, tab/search
App bar components can include: status bar, navigation bar, tab/search bar, and flexible space
Material Design: status bar, navigation, and tab bars
Example of a status bar, navigation bar, tab/search bar, and flexible space

Behavior ​

Standard app bar

Specs:

The standard app bar height is 56dp on mobile and 64dp on larger screen sizes.

The app bar has two scrolling options:

  • The app bar can scroll off-screen with the content and return when the user reverse scrolls
  • The app bar can stay fixed at the top with content scrolling under it
Standard app bar in Material Design
The standard app bar

Status bar height: 24dp
Toolbar height: 56dp / 64dp
Animation of toolbar off-screen during scrolling

App bar with tabs

The standard app bar component that can include the following blocks: a toolbar, tab bar, or flexible space.

Tabs may have one of these behaviors:

  • The tab bar stays anchored at the top, while the toolbar scrolls off
  • The app bar stays anchored at the top, with the content scrolling underneath
  • Both the toolbar and tab bar scroll off with content. The tab bar returns on reverse-scroll, and the toolbar returns on complete reverse scroll
Material Design status, toolbar, and tab bar elements
Status bar, toolbar, and tab bar

Status bar height: 24dp
Toolbar height: 56dp / 64dp
Tab bar height: 48dp
Animation showing the toolbar scrolling off and the tab and app bars stay in place.

Flexible space

Because the app bar is flexible, it can be extended to accommodate larger typography or images. To extend the app bar, add a flexible space block.

Flexible space may be displayed one of two ways:

  • The flexible space shrinks until only the toolbar remains. The title shrinks to 20sp in the navigation bar. When scrolling to the top of the page, the flexible space and the title grow into place again.
  • The whole app bar scrolls off. When the user reverse scrolls, the toolbar returns anchored to the top. When scrolling all the way back, the flexible space and the title grow into place again.
Material Design status bar, toolbar, and flexible space
Status bar, toolbar, and flexible space

Status bar height: 24dp
Toolbar height: 56dp / 64dp
Animation showing flexible space during scrolling

Flexible space with image

Use flexible space to accommodate images in the app bar with the desired aspect ratio.

In this example, the aspect ratio is 4:3. When scrolling, the content pushes up the image, which shrinks the flexible space. At the end of the transformation, the image gets tinted with the primary color, independent of scrolling.

Material Design status bar, toolbar, and flexible space
Status bar, toolbar, and flexible space

Status bar height: 24dp
Toolbar height: 56dp / 64dp
Animation showing flexible space and image during scrolling

Flexible space with overlapping content

Content can overlap the app bar.

The app bar has two scrolling options:

  • The app bar is initially positioned behind the content. Upon upward scroll, the app bar should scroll faster than the content, until the content no longer overlaps it. Once anchored in place, the app bar lifts up for content to scroll underneath.
  • The app bar can scroll off-screen with the content and return when the user reverse scrolls

In this interaction, the app bar cannot include tabs.

Flexible space in Material Design
Flexible space

Status bar: 24dp
Toolbar: 56dp/64dp
Animation showing flexible space and overlapping content during scrolling

Z-space diagram, side view
Pager
Previous pagePermissions
Next pageSearch

Released under the Apache-2.0

Copyright © 2014-Present Google

https://m1.material.io/patterns/scrolling-techniques.html

Released under the Apache-2.0

Copyright © 2014-Present Google