Shared Element Transitions

Download android eBook

Introduction

Here you find examples for transition between Activities or Fragments using a shared element. An example for this behaviour is the Google Play Store App which translates an App's icon from the list to the App's details view.

Syntax

  • transaction.addSharedElement(sharedElementView, "targetTransitionName");
  • fragment.setSharedElementEnterTransition(new CustomTransaction());

Related Examples

Stats

38 Contributors: 1
Friday, January 27, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook