I am transitioning two views, an ImageView and a Textview, using
ActivityOptionsCompat options = ActivityOptionsCompat.
makeSceneTransitionAnimation((Activity) context, viewPairs.toArray(new Pair[viewPairs.size()]));
context.startActivity(intent, options.toBundle());
The Image works fine, but the textview is transitioning from a 2 line textview, to a one line text view and that works fine, the problem is, when it transitions back from the one line to the 2 line, it is like choppy and seems like it glitches out a bit. I was wondering if there is a way to smooth it out and make it more of a pleasant transition. This call above is in a static method, and it is called from a Recycleview adapter.
Thank you for your time
from Smooth way to transition one line Textview to 2 line Textview
No comments:
Post a Comment