Slide Menus – iOS & Android

One of the most consistent referrers to Alloylove.com is from a question on Appcelerator’s forum called “Android Slide Menu ( like G+, Facebook, Wunderlist ).”

Apparently there are a lot of people, including myself, that want to know how to easily implement a slide menu like Facebook (pre-iOS7), Path and various others. Below is a list of resources to help you get the slide menu feature in your apps. I have separated this post into two lists, Alloy and Classic.

Also you will notice that each of the resources is tagged with one of three tags native, window, and view. These three tags represent the three different ways that you can achieve the sliding menu effect. Each one has it’s advantages and disadvantages, it is really up to you to figure out which one works best for your situation.

Alloy

If you are using Alloy, this is extremely simple. Here are two repos that will get you on your way to sliding menus. Matt Congrove’s (com.mcongrove.slideMenu) contains instructions and sample code for really simple integration.

Classic

With classic this is going to be a little more complicated and require a substantial amount more code on your part. Below I have linked some resources about adding the slide menu to a classic Titanium project.

Another option would be to dig into one of the Alloy widgets above and convert it to a classic project. Doing this would be a decent amount of work, but if you have a classic app and you want a great sliding menu for it that may be the best solution since most of the Alloy projects are more recently maintained.

If I have missed your favorite library please leave a comment so that we can share it with the rest of the community.

Josh Jensen is the technical director and a partner at ROAR. ROAR.pro is a leading mobile app company that helps nonprofits realize their potential in the mobile space. Josh has personally developed and launched hundreds of apps and overseen the development and deployment of all of ROAR's systems.


Comments