Since you have not yet accepted the answer, can I offer you the SlidingLayout library ? This is a very small library, the purpose of which is to create smooth transitions between the two layouts of some components. Thus, the transition between the two screens is very simple. Here is an example I just made:


The difference between the two transitions is based on two lines of code. You can also create more fancy transitions by applying a different delay for each component, so they do not appear all at the same time, but with some temporary changes between them.
I hope you find this helpful :)
Aurรฉlien ribon
source share