Pick view position on screen and apply to another view

2

I'm trying to make a transition effect when I open a DialogFragment but for this I need the photo ( CircleImageView ) of DialogFragment to be in the same place as the photo of Activity that opens it. If it is not clear I will explain with the images:

ThisistheimageIwanttouseasthebasisforpositioningtheotherofDialogFragment.ClickingonthispicturewillopenaDialogFragmentwiththisscreen:

Disregard the buttons , my focus is just the image. How do I position this image exactly in the same place as the other programmatically?

    
asked by anonymous 25.08.2016 / 21:34

1 answer

1

Use this library that already contains this type of treatment: link

    
26.08.2016 / 19:51