custom-lollipop-transitions
custom-lollipop-transitions copied to clipboard
Wrong height after PopBackStack with CardView
I use a RecyclerView with cards and if you click a card it will open a new fullscreen fragment and uses a similar method for the textsize transition as yours. It works fine for the openanimation but unfortunately it works not smooth when you click the backbutton and the fullscreen fragment moves away, because it uses the bigger textsize (from the fullscreenfragment) to calculate the card height, but the textsize is smaller in the card. The transition works fine, but the card is at the transition beginning to big and scales down after the end of the transition. I've tried also your version of the code, but it's the same problem. Do you have an idea why? I think it depends on the callbacks.