Shared Element Transition between Recyclerview and Detailsfragment: elevation, hierarchy, bringToFront
<p>I have some experience working with shared element transitions and fragment transition but I got stuck at the following problem.</p>

<p>I have a <code>RecyclerView</code> with items, if you click on one of the items it uses a <code>ChangeBounds</code> transition to go to the details page. This works fine. When I press the back button, the transition takes place again using the <code>ChangeBounds</code> transition. The only problem is when returning, the transition animates the item underneath the other items in the <code>RecyclerView</code>. </p>

<p>So what I'm trying to accomplish is the elevate the item above the other items when the return animation takes place. I tried elevating the shared element by using </p>

<pre><code>setElevation(1000);
</code></pre>

<p>But this doesn't seem to have any effect.</p>

<p>I tried everything I could find on the internet but there ain't much examples of this specific  problem.</p>

<p>Any feedback is welcome :)</p>

<p>Cheers!</p>