1

How to create Parent-child transition in which list item lifts out and become details screen like shown in below picture:

enter image description here

CodeChimp
  • 4,745
  • 6
  • 45
  • 61
Prashanth
  • 993
  • 8
  • 18

1 Answers1

-1

You can achieve this using sharedElementTransitions in android, you can have two fragments, master and detailFragment. This animation will be applied when you replace the fragment. For reference check out this link

https://medium.com/@bherbst/fragment-transitions-with-shared-elements-7c7d71d31cbb

Suhaib Roomy
  • 2,501
  • 1
  • 16
  • 22
  • 1
    this is not what i wanted. – Prashanth Aug 21 '18 at 18:23
  • Obviously this is not the exact code, hence I said you can take reference from here not the exact code. It is easy to modify this code and achieve what you want using elevation and shape transition – Suhaib Roomy Aug 24 '18 at 14:56