Question

I am working on a project where I should not use any XML file and sliding Drawer is must. But I found that Sliding Drawer is not possible through java coding, For this reason I started working on animations where a layout should move Up and Down same as sliding Drawer & ended with nothing.

Could someone help me with this issue

Was it helpful?

Solution

You don't necessarily have to use the translate animation. You can use android's Sliding drawer. Also, there are many sliding drawer libraries on Github.

But if you do want to use your own drawer you need the translate animation. So, get started with that. You can visit this and this to get started.

All the best!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top