How to make a sliding menu that makes the activity smaller? - android

I would like to create a sliding menu that pushes the activity to the right and makes it smaller. Something like this:
I found this Floating Drawer for iOS on github.

It's Reside Menu You can get this from here.

Related

Android navigation drawer shadow on inside

Is there a quick way to render the shadow that the navigation drawer creates on the inside of the draw, rather than over the main content? Kinda to make it look like the drawer is under the main content, rather than over.
I thought there might be an easy way to do it using setDrawerShadow() but I don't know.
Use a SlidingMenu or Implementing a custom sliding menu.

Android - Slide Menu like in Uber

I am looking to implement a menu like used on the Android Uber app.
It seems to be like an action bar on top with 3 small settings stripes on left side. (probably not a real action bar)
When clicking in that area a black menu slides out from the left and occupies 70% of the screen.
The right side of the screen still showing the map is darkened to keep focus on the menu.
I like that style, it looks good and everyone immediately knows how to use it.
I would like to have the same but don't know where to start or if there is maybe something available that would do something similar.
The actionbar itself only offers the menu on top right which is better for pure settings.
I also experimented with a split action bar having the menu items on bottom but that also seems superior to the clean interface Uber provides.
You want the Android Navigation Drawer. It's an Android sanctioned navigation pattern and more details about it can be found here. For some more technical documentation and an example of how to use it, you can find a sample over here. It works great with the Action Bar so shouldn't need anything too custom outside of what the Android v4 compat library gives you.

PreferenceActivity inside a Sliding menu

Currently i am developing an app that needs to have a sliding menu but inside that sliding-menu i want to have a preference activity style like , for example like YouTube app sliding menu style.
I am working with "jfeinstein" sliding menu because i didn't found something else to make the sliding menu and it's not offering a way to make a activity in the sliding menu.
So is there another sliding menu library or is there actually a way to do what i described?
Thanks

Making the jfeinstein Sliding Menu wrap content

I understand that to display the sliding menu you must use menu.setBehindWidth(380); to toggle how much you want the menu to slide out. But this works really bad if using multiple device screens. Is there a wrap content kind of thing for this menu? Thanks

Custom animate navigation drawer

I have implemented Google's navigation drawer and I would like to add a custom animation when I click a menu item.
Ideally the menu would slide back as if closing, leaving a small sliver of the menu open. A dialog would open with an animation, originating from the space beside the selected menu item.
Something like this..
I tried to animate the left_drawer element on the x axis using ObjectAnimator, but this displaces the whole screen.
Can anyone help?
If you want it so the drawer is only peaking, try using drawerLayout.closeDrawers(true).
According to the source though, this closes all drawers (if you have more then one).
DrawLayout source

Categories

Resources