andkulikov / Transitions-Everywhere

Set of extra Transitions on top of Jetpack Transitions Library
Apache License 2.0
4.83k stars 486 forks source link

Help on formatting text after transition #69

Closed jonasrotilli closed 7 years ago

jonasrotilli commented 7 years ago

When changing the text of a TextView using the transition, the layout characteristics (example textAppearance) are lost. Is there any way for the transition to keep the features and animate only the text exchange?

I used the code

TransitionManager.beginDelayedTransition(view, new ChangeText().setChangeBehavior(ChangeText.CHANGE_BEHAVIOR_OUT_IN)); textView.setText("Test");

andkulikov commented 7 years ago

Hello. What exactly do you lose? Color? can you show me a more detailed example? Thanks

andkulikov commented 7 years ago

ChangeText is animating only text color. If you will have some more details please comment here