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
Related
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
I am making an app. I need to implement a drawer layout. I had done that part but now i have to slide action bar while opening drawer layout like face Book. Please give me some solution.
please help me.
you can use external library for sliding menu. Here it is like for library and source example
https://github.com/jfeinstein10/SlidingMenu
Hope you like it
I'm trying to use Jeremy Feinstein's SlidingMenu in my application. Issue is I'm not using ActionBarSherlock and don't want to use it. I'm using Android's default ActionBar and quite happy with it. Now where to find the SlidingMenu implementation which is not dependent on ABS? I also don't have time to completely implement it on my own like the one used in Prixing app. Any Help, anybody?
EDIT:
I'm already using NavigationDrawer but want to animate ActionBar+MainContent with drawer animation like SlidingMenu does.
You don't need to implement Action Bar Sherlock For J. Feinstein's Sliding menu. Grab the code which is being used with ABS, the same code (you can remove ABS code from it if you're not using ABS) will work for native action bar.
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
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!