Animating Menu icon like google apps - android

Im trying to achieve the neat menu icon ui like in all the new google apps,
im talking about the "hotdog" menu icon that animates when it is pressed, sliding a bit to the left when the sliding menu slides to the right.
Im using the android SlidingMenu library btw.
Any suggestions?

It appears that SlidingMenu library wont do it...
if anyone else is looking for an answer i am recommending to use the native library: NavigationDrawer, here's a tutorial:
http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
Enjoy :)

Related

Adding a custom navigation drawer action bar icon

I've implemented a navigation drawer, and it has the standard 3 lines going across.
I've been looking around for methods to change that icon, but I haven't found much luck. I really only want to make the lines more spaced out and longer (like in the playstore).
Any suggestions?
If I understand correctly, you're looking to change the
icon
There is a Navigation Drawer Indicator Generator in the Android Asset Studio.
The icon is available for download in the Android training lesson Creating a Navigation Drawer.
As far as I can tell, you can follow that tutorial and swap in whatever icon you'd like.

How do I implement a slide-out menu pane similar to Google Maps and Twitter?

I am looking to implement something similar to the slide-out pane shown in Google Maps and also in Twitter(Click the settings button after performing a search).
The pane displays itself at the bottom and the user can either click on it or swipe upwards to reveal more information.
I want to implement something similar but I am not sure how to proceed. I have a simple ListView and when a user clicks an item, the slide-out pane should appear. How would I go about doing this?
I was thinking of using a context menu but according to the official docs, icons are not allowed to be placed there.
Check out AndroidSlidingUpPanel. It should be perfect for your needs. It can be also achieved using SlidingDrawer.
You can use a navigation drawer to make a slider menu.
You can see a good example here:
http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/

ActionBar and sliding out menu in android

I just want to create an action bar as foursquare app.
and i want to show a slide out menu when the home button pressed just like the image shown.
I am able to create the custom action bar but not like the first image. Please provide any tutorial which will help to create the Action bar
You may use the version included in the Google Android SDK (instead of an 3rd party lib.)
Read about Navigation Drawer for more details.
SlidingMenu is a great and easy-to-use library for this.
edit: Sorry, thought the question was only about the slide-in menu.
For actionbar, your best library will be ActionbarSherlock

Android how to make menu bar that appears at the side of the screen? Like Google Plus, Facebook menu on Android devices

I am developing an app on Android and would like to use the similar menu bar like Google Plus or Facebook, when you click the button, the menu bar will slide in and will not occupy the whole screen. Any ideas on that?
Thanks.
A pretty popular library for accomplishing the 'sliding menu' effect (or 'drawer' as the design guidelines on the Android developer website prefer to call it) is Jeremy Feinstein's SlidingMenu. It's also compatible with ActionBarSherlock, in case your project is using that too. Unfortunately, at this stage there is no component built into the SDK that allows you to do easily accomplish the same thing.
There are also a couple of alternative implementations for a sliding menu (do a search either here on SO or Google), but I haven't checked those out for a little while. If I recall correctly, there are especially some variations in terms of whether the ActionBar is supposed to slide along with the content or stay fixed at the top of the screen.
You can use FrameLayout in parent view and use translate animation in menu layout to show the slide in and slide out effect.

Facebook Slide menu-slide to right in android?

I used maddeye slide menu library to implement a Facebook like slide bar. It works fine, sliding from right to left.
Now what I want is to slide from left to right as the new Facebook app in Android.
What modification should I use to make this change? Does anyone know how to slide both sides as the new Facebook app?
I would try the android-menudrawer project at https://github.com/SimonVT/android-menudrawer which just hit 1.0.0 thanks to Jake Wharton.
I tried it out yesterday and it looks like it fits your needs.
If you build and install the sample APK, you'll see an example called "Right menu" which is what I think you're looking for. The other examples are variations of the normal sliding menu.
Here are screenshots of this sample APK (MenuDrawerSamples) in action. The first screenshot shows the Right Menu example with the menu drawer closed. Tap on the overflow menu item in the upper right corner and then it reveals the menu, as shown in the second screenshot. You could trigger it instead from another action bar button or other button if desired.

Categories

Resources