I have a view that I'm removing with removeView(), and then a view that is replacing it with an addView(). Both of these views are within a FrameLayout. I would like to be able to do a Shared Element Transition between two shared images in these layouts, but don't really know how to go about doing that as the android tools seems to be built with the (perhaps reasonable) idea that you will only have shared element transitions between activities or fragments.
My best idea at the moment is to do my own attempt at the animation. I'd do that by drawing a copy of the image onto a viewOverlay, removing the first view, adding the second view visible animating it to the position in the second view and then making the second view visible. I'm going to try that route and answer my own question if it works, but I was hoping to find a more native way of doing this.