First of all, I'm completely new to animation on Android, but would like to include it in my next application. The application will look like this:
For example, I will have 2 layers, each of which contains its own data.
Layer 1 will contain data 1
Level 2 will contain data 2
And layer 1 will be superimposed on layer 2; which is on top of layer 2.
Layer 1 will be on top of layer 2 and thus mask / hide layer 2
When a button is pressed (with the intention of showing layer 2), layer 1 will pop up and show layer 2. And another button will allow layer 1 to go back again.
Note that I used word layers to give a general image of what I am trying to achieve. I do not know what elements are used in the animation for android, since I did not encounter layout elements that can be superimposed on each other.
In addition, as I now think, the so-called layers will be in linear mode.
So my question is: how can I achieve this? What elements / objects / libraries should be used? And, of course, references to some documents and manuals are more than welcome.
Thank.
source
share