In my app I want to create a main menu screen layout. The layout basically has a linear layout which is 40 dp from the left, also there are four buttons in another linear layout.
Now, what I want to achieve is that when the user reaches the main menu screen, the four button should swipe in from the bottom , I know I need to inflate the first layout with the layout holding the button, I have studied a bit about interpolators on developer android, but I am still not able to achieve what I want.
Can any one help me as how I can achieve this, an example or a tutorial on inflation would help, but inflation must be from bottom to top or top to bottom.
If I understood correct you just need to animate your buttons(sliding from bottom to top). The first you need to define your animation in your R.anim smth like this:
Then you need to apply animation to your view or layout: