AITAALI_ABDERRAHMANE
AITAALI_ABDERRAHMANE

Reputation: 2519

Android custom layout animation

all I have a tabbar in my Android app like pic

enter image description here

now I want to add a layout on the back of my tab bar like pic

enter image description here

and when I click the press button the layout appear with a flip animation to the top like pic

enter image description here

Help

Upvotes: 0

Views: 1003

Answers (3)

Shreyash Mahajan
Shreyash Mahajan

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

rizaozdulger
rizaozdulger

Reputation: 205

You can use SlidingDrawer which already includes android sdk.

Here is simple tutorial : link.

Upvotes: 1

user1503346
user1503346

Reputation: 89

u can use frame layout in tab with bottom gravity. and on click you can adjust its size.

Upvotes: 1

Related Questions