• This repository has been archived on 21/Sep/2021
  • Stars
    star
    99
  • Rank 342,347 (Top 7 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 12 years ago
  • Updated about 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A sliding menu for Android, as found in the Google+ or Facebook apps.

Flattr this git repo

A sliding menu for Android, very much like the Google+ and Facebook apps have. That is, this one slides the activity title / action bar out of the way as well!

Based upon the great work done by stackoverflow user Scirocco (http://stackoverflow.com/a/11367825/361413), thanks a lot!

The XML parsing code comes from https://github.com/darvds/RibbonMenu, thanks!

SlideMenu on Gingerbread

SlideMenu on ICS with ActionBar

Usage

Menus are created in xml as normal, adding text and possibly an icon.

In the activity where you want a SlideMenu, just instantiate one and call its show() method where appropriate, i.e. on app-icon click in action bar or on button click. The SlideMenu constructor will require you to have the calling class implement the SlideMenu callback to get notified about menu item clicks.

The sample activity shows how it all works.

Credit

Thanks go out to stackoverflow user scirocco (http://stackoverflow.com/users/1150188/scirocco) whose work we just slightly extended and also to David Scott for the XML parsing code in RibbonMenu (https://github.com/darvds/RibbonMenu) that we used to complete this implementation.

License

Copyright 2012 CoboltForge, David Scott and http://stackoverflow.com/users/1150188/scirocco

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

More Repositories

1

droidVNC-NG

VNC server app for Android that does not require root privileges.
Java
1,240
star
2

gromit-mpx

Gromit-MPX is an on-screen annotation tool that works with any Unix desktop environment under X11 as well as Wayland.
C
943
star
3

multivnc

MultiVNC is a cross-platform Multicast-enabled VNC viewer based on LibVNCClient. The desktop version runs on Unix, Mac OS X and Windows. There also is an Android version.
C++
448
star
4

Multicast-Client-Server-Example

This is a simple educational example of an IPv4/IPv6 multicast client and server, running under UNIX and Win32.
C
56
star
5

wxservdisc

wxServDisc is a simple to use C++ dropin-class/ library to facilitate Zeroconf service discovery in any wxWidgets application, without any other dependencies than wxWidgets. It works under UNIX, Mac OS X and Windows. A sample app is included.
C
10
star
6

ghpringbuf

A Generic High-Perfomance Ring Buffer Implementation - cross platform, ANSI C only
C
8
star
7

input-device-manager

Simple tool to set up XInput2 devices.
C
4
star
8

slackexportenricher

Quick and dirty script to spice up Slack exports for Mattermost to digest more nicely.
Shell
3
star
9

libsshtunnel

Simple SSH tunnel library to let your networking app connect to a host running behind a SSH server.
C
3
star
10

CollabKit

CollabKit server distribution
Shell
3
star
11

vino_externalLibVNCServer

A fork of the GNOME vino VNC server that uses a system libvncserver instead if the internal one.
C
2
star
12

klangwunder3000

Klangwunder3000 is a cross-platform soundscape generator
C++
1
star
13

zargonos

Zargon's stuff
Shell
1
star
14

CollabTool

CollabTool is the CollabKit Client. DEPRECATED in favor of MultivVNC:
C
1
star
15

MalaMinya

A revised version of the original MPX group drawing tool.
C++
1
star
16

blake2err

Rust
1
star
17

omronplusplus

the simplistic peace-endowing warfare simulation
C
1
star