Reputation: 2519
all I have a tabbar in my Android app like pic
now I want to add a layout on the back of my tab bar like pic
and when I click the press button the layout appear with a flip animation to the top like pic
Help
Upvotes: 0
Views: 1003
Reputation: 23596
You should have to create One Layout let say pressLayout which contain that Press Button.
initially that layout is invisible. Now while you press on Tab or any other button, that Layout will show with the translate(or Scroll) animation from Bottom to Top.
Now while you click on Press Button. Set another animation on the Layout/view you want to effect.
Hope you got the point. For Translate Animation, you can see this: translate Animation
Enjoy coding...
Upvotes: 1
Reputation: 205
You can use SlidingDrawer which already includes android sdk.
Here is simple tutorial : link.
Upvotes: 1
Reputation: 89
u can use frame layout in tab with bottom gravity. and on click you can adjust its size.
Upvotes: 1