Hello everybody,
Here we have my second library, I created this library for a project that I'm working on, I've previously used this menu(in a class) on other clients bespoke apps. I've learnt a lot from other forum members, so hopefully you will like my little sliding menu.
Just swipe your finger from off the screen and the menu slides in and out, the top left button also slides the menu in and out when tapped.
A big thank you to @Informatix and @margret for creating libraries that makes my life easier
SlidingMenuStd
The extra libraries that I used were:
This has been tested on:
Cheers
- UPDATED V1.2, Removed the NFC Foreground Library.
- UPDATED V1.3, SDK checker and some other small updates.
- UPDATED V1.31, Added full length or item length vertical menu setting (MenuFullLength = True/False).
- UPDATED V1.32, Added the option to show or hide the top slide menu button (ShowSlideButton = True/False)
- UPDATED V1.34, Added method to show sliding menu
- UPDATED V1.35, Removed pnl_v_shadow.9.png, developers were not adding the file to their projects, thus causing an error
Last updated on 8th June 2015, see V1.35 update note above.
Here we have my second library, I created this library for a project that I'm working on, I've previously used this menu(in a class) on other clients bespoke apps. I've learnt a lot from other forum members, so hopefully you will like my little sliding menu.
Just swipe your finger from off the screen and the menu slides in and out, the top left button also slides the menu in and out when tapped.
A big thank you to @Informatix and @margret for creating libraries that makes my life easier
SlidingMenuStd
- BarsOff
TURN OFF BARS - Initialize (Activity As Activity, Top As Int, SetMenuWidth As Int, SetMenuColor As Int, FontSize As Int, FontColor As Int)
Current activity, Menu top position, Menu Width, Menu color, Text size, Text color - InitializeActionBar (Activity As Activity, ActionBarColor As Int, LineColor As Int, Radius As Int, MenuButton As Boolean)
Current activity, Action bar color, Thin line color, Action bar corner radius - InitializeSwipe (Activity As Activity, Module As Object, SetSlideDuration As Int, SetFadeAlpha As Int, SetMenuLength As Boolean)
Current activity, Current module name, Menu slide duration in milliseconds, FadeAlpha(0-255), Menu length(Full or just items)
The extra libraries that I used were:
- AnimationPlus
- ICS Contols
- Menu width
- Menu colour
- Menu text size
- Menu full length or item length
- Menu text colour
- Action bar colour
- Action bar under line colour
- Action bar corner radius
- Slide duration
- Fade alpha shade
- Action bar text
- Slide menu button visible(True or false)
This has been tested on:
- Acer Iconia A500 running Android 4.0.3 Ice Cream Sandwich
- Samsung Galaxy Nexus running Android 4.2.2 Jelly Bean
- ASUS Nexus 7(2012) running Android 4.2.2 Jelly Bean
- LG Nexus 4 running Android 4.4.2 KitKat
- LG Nexus 5 running Android 4.4.2 KitKat
- ASUS Nexus 7(2013) running Android 4.4.2 KitKat
Cheers
- UPDATED V1.2, Removed the NFC Foreground Library.
- UPDATED V1.3, SDK checker and some other small updates.
- UPDATED V1.31, Added full length or item length vertical menu setting (MenuFullLength = True/False).
- UPDATED V1.32, Added the option to show or hide the top slide menu button (ShowSlideButton = True/False)
- UPDATED V1.34, Added method to show sliding menu
- UPDATED V1.35, Removed pnl_v_shadow.9.png, developers were not adding the file to their projects, thus causing an error
Last updated on 8th June 2015, see V1.35 update note above.
Attachments
Last edited: