I have two kinds of grids for which I would like to create a custom animation. Imagine this layout:
___________________________________________
| |
| |
| TOP Grid |
| |
| _________________________________________ |
| |
| |
| BOTTOM |
| Grid |
| |
| _________________________________________ |
The lower grid will “extend” and “slide” behind the upper grid. I believe that I should use translational animation. How to find out fromX and fromY? I thought I have both views in the layout, and then set the animation as RelativeToParent.
Is this the right approach? If you know somewhere, I can find the source code for this function, I would really appreciate it. Thanks,
source share