Android : sliding drawer from top - android

I program in android app with android studio. I would like to try to make the same top sliding drawer like this that is in the app of "airbnb". I tried with sliding drawer but I don't know how to start first because the sliding drawer component of android is "depracated" after API 17. I also tried with navigation drawer but it is on the side and not from top to bottom.
I don't think that the navigation drawer or drawer layout could help.
Thanks a lot !
If someone has an idea...

Refer to this library: Link
There are instructions about how to make this panel slide from top in the readme file.

Related

how to set navigation drawer in bottom to up

I want create navigation drawer in the bottom , when click button open navigation in bottom to up
like this in link
http://imgh.us/Screenshot_2015-08-13-21-27-20_1.png
The default Navigation drawer does not work that way. Consider using
https://github.com/wunderlist/android-sliding-layer-lib
It allows you to configure a view/layout(with your content) that can slide into your screen from any direction.
This answer may be too late for the original asker, but you could get this effect by using a Sliding Drawer. It has since been deprecated, however, there are some nice open source alternatives around, like the ones in the links below:
https://github.com/umano/AndroidSlidingUpPanel
https://github.com/wunderlist/android-sliding-layer-lib
https://github.com/Ali-Rezaei/SlidingDrawer

Android Navigation Drawer new style

In this type of Navigation Drawer, when you swipe from the left edge of the screen, current screen moves to right side while resizing and the Navigation Drawer become visible by a transparency transition effect while its resizing too. And also the Navigation Drawer shows up from behind of the current activity.
Like this one, my "Music" application:
So, how can I achieve this kind of Navigation Drawer? Is there any library, tutorial or...?
Many thanks!
its not navigation drawer (navigation drawer always comes from the top of screen).
you can use sliding layout.
https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.html
The closet library I found is SlidingMenu.
An example on Google Play:
https://play.google.com/store/apps/details?id=com.slidingmenu.example&hl=en

Issue with Sliding Drawer and Animations

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
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!

NavigationDrawer with Top to bottom menu?

Is it possible to use the NavigationDrawer as menu coming from top to bottom instead of left to right?
This is umano app's sliding up panel, I used this in my app, You can easily convert it to top to bottom
https://github.com/umano/AndroidSlidingUpPanel
Yes , ofcourse you can but it may create a confusion between the notification screen of android OS and your apps navigation drawer so its a good practice to put your navigation drawer either from left side or from right .
for more info you can have a look at this articles
http://developer.android.com/training/implementing-navigation/nav-drawer.html
http://developer.android.com/design/patterns/navigation-drawer.html

Sliding Drawer from left to right

I want to make Sliding Drawer to slide from the left.
I have a partial solution, but it only works on Android versions 3 or higher and I want to support 2.2. The solution is the property android:rotation=180 in the Sliding Drawer component in XML.
Does anyone know how to do it or some similar effect to expand a menu and move the entire view to right?
Using this, http://blog.sptechnolab.com/2011/02/10/android/android-sliding-drawer/ it's MultiDirectionSlidingDrawer

Categories

Resources