Issue with Sliding Drawer and Animations - android

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!

Related

Android : sliding drawer from top

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.

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

DrawerLayout : Drawer hand? Drawer indicator?

I don't know how to really call this but I want to make menu drawer like in drawerlayout but when drawer is close there will be like drawer indicator a;ways float on the left side of screen like this
open
close
is there any way to do like this?
I found library https://github.com/NikolaDespotoski/DrawerLayoutEdgeToggle works well as i wish for.
For this you should be using the SlidingPaneLayout. Here are some examples:
http://www.javacodegeeks.com/2013/10/android-slidingpanelayout-tutorial.html
http://www.recursiverobot.com/post/59642335041/trying-slidingpanelayout-with-fragments-in-android
Because you are working with Fragments here you could tweak the layout so to keep the indicator in the layout.
Maybe SlidingMenu + ActionbarSherlock is a better choice.
Go for Sliding Menu using Drawer which best suites your functionality.
Also you can check the guide for Navigation Drawer in Android

Implements a sliding menu without sliding drawer Android

I'm trying to implement a sliding menu without using the sliding drawer element deprecated. I see a lot of examples but all of them use sliding drawer or haven't complete code. Can you post some example or library to solve my problem?
Use this one
https://github.com/jfeinstein10/SlidingMenu
Easy to implement, just add java code of example and create your menu.xml
You can check out Navigation Drawer

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