An android custom view which looks like the menu in Path 2.0 (for iOS).

Related tags

ArcMenu
Overview

ArcMenu & RayMenu

ArcMenu

An android custom view which looks like the menu in Path 2.0 (for iOS).

Preview Preview

RayMenu

Preview

About

The user experience in Path 2.0 (for iOS) is amazing, but the android version miss much.

Just for fun, I try to realize the amazing menu for android, which could be equal to the iOS version's.

Usage

If you want to use this library you must before all indicate to your application that you want to use it by launching the following command from the root directory of your application

$ android update project --library ../relative/path/to/the/library --path .

where the path is the relative path to the library directory in this repository.

To setup the menu:

ArcMenu menu = (ArcMenu) findViewById(R.id.arc_menu);

final int itemCount = ITEM_DRAWABLES.length;
for (int i = 0; i < itemCount; i++) {
	ImageView item = new ImageView(this);
	item.setImageResource(ITEM_DRAWABLES[i]);

	final int position = i;
	menu.addItem(item, new OnClickListener() {

		@Override
		public void onClick(View v) {
			Toast.makeText(MainActivity.this, "position:" + position, Toast.LENGTH_SHORT).show();
		}
	});// Add a menu item
}

If you want to change the default appearence for ArcMenu:

in arc_menu.xml

custom:childSize="50px"
custom:fromDegrees="0.0"
custom:toDegrees="300.0"

or in ArcMenu.java

arcLayout.setChildSize(50);
arcLayout.setArc(0.0f, 300.0f);    
Issues
  • How to expand RayMenu from right to left

    How to expand RayMenu from right to left

    Hi, I am looking for a RayMenu like yours but I need it to expand from right to left. Can you give any suggestions how to modify your code? Thanks.

    opened by tagpenpen 13
  • Menu icons not under center image

    Menu icons not under center image

    Hi, I tryed to place the center icon in the upper left corner, it worked, but this is the problem: The array with all the menu icons is not under the "center image"! device-2013-08-05-171021

    device-2013-08-05-170822

    opened by matthijs2704 5
  • ArcMenu & ListView

    ArcMenu & ListView

    hey there, i'm trying to add ArcMenu to every item in a ListView...

    problem: for each item, it adds the whole set of menu-items again and again. i tried to filter, if this position is already added but it doesn't work.

    any clues? thanks in advance

    opened by ghost 5
  • License for ArcMenu?

    License for ArcMenu?

    Thank you for making such a useful component available. Under what license can it be used in apps - is it Apache 2.0?

    opened by GunnarKarlsson 4
  • How to set initial button's margin and menu's margin together

    How to set initial button's margin and menu's margin together

    I tried to move the whole arc menu to the right bottom corner so I set margin:

    <com.example.ArcMenu android:id="@+id/arc_menu" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="150dp" android:layout_marginTop="250dp" />

    However, the red "+" sign is off, it is not moving together with the menu. What should I set?

    opened by nologinatgit 4
  • Problem using the arc without the center button

    Problem using the arc without the center button

    Hi, I'm trying to use the arc but without the composer button being visible. I tried lot of different things and nothing simple is working.

    I tried changing the png's file to empty png's and it changed the animation and showed the selected item instead of "nothing" I tried changing the selector xml and many other "simple" method

    Any suggestion ?

    opened by Shailevy 4
  • Not clear on how to add this to my project.

    Not clear on how to add this to my project.

    I copied the libary folder to my project's libs folder, and I ran the android update command, but how do I import the items? It says the import com.capricorn cannot be resolved.

    Thanks very much.

    opened by Steph-Fongo 4
  • Add ArcMenu Bottom Left of Layout

    Add ArcMenu Bottom Left of Layout

    Hello id like to know how can i add the arc menu to the bottom left of a layout(the hint image on the bottom left).thank you

    opened by rfmussa 4
  • Need an HowTo for implementation

    Need an HowTo for implementation

    Great work, but I don't know how to use this.

    Is it an Android Library?

    opened by shkschneider 3
  • Arc Menu is too small for xhdpi devices

    Arc Menu is too small for xhdpi devices

    Hi i am using arc menu and its really cool!.. But the problem is its very small on xhdpi. I am testing on Samsung galaxy s3 and i have images around 64X64. pleas help me through this.

    opened by ManojMM026 2
  • How to add blur effects in background when a transition happens?

    How to add blur effects in background when a transition happens?

    Any support is there for making the background blue whenever the menu opens??

    opened by sunnykriplani 0
  • Can i add text into this menu??

    Can i add text into this menu??

    I wanna to develop circle menu and in the middle put the logo of app and every menu contain it's text is it possible using this lib??

    opened by arpit999 1
  • ArcMenu BGColor Remains White

    ArcMenu BGColor Remains White

    I am trying to implement your arcMenu in my application and everything looks fine but there is a white colored square background behind the button and its animation that I cant remove. Please help. screen shot 2015-04-19 at 12 11 00 pm

    best regards, Mohsin

    opened by mohsinhussain 0
  • zoom in/ out button when menu opened or closed

    zoom in/ out button when menu opened or closed

    when click on menu button it scale down

    opened by exiosoft 0
  • vertical expanding?

    vertical expanding?

    How to expand the menu vertically? from bottom to top. It's posible? Thanks

    opened by borjaruiz 1
  • method void addItem is never used warning

    method void addItem is never used warning

    hw to rectify tis problem i followed everything which was gv in the repository i thnk its bcuz of tis warning tat arc menu app has stopped responding any help guyzz

    opened by tamizh3110 0
  • Modify Main Drawable

    Modify Main Drawable

    I didn't see it in the docs anywhere. But it would be cool to change the drawable for the initial item.

    Anyone want to tackle this with an xml attr? maybe: arc:button="@drawable/..."

    opened by jpshelley 4
  • make child view invisible when colapse child views

    make child view invisible when colapse child views

    make child view invisible when colapse child views,especially when child view is bigger than parent.

    opened by arjinmc 0
  • Make button floatable

    Make button floatable

    Is it possible to make main button floatable around the screen?

    opened by beydogan 0
  • Android Studio

    Android Studio

    Has anyone been successful in getting this to work with Android Studio? I could really use some help. I'm not sure what I am doing wrong, but I am trying to follow method 1 from these instructions:

    https://github.com/MagicMicky/FreemiumLibrary/wiki/Import-the-library-in-Android-Studio

    opened by jabelman 3
Owner
daCapricorn
daCapricorn
:fire: The powerful and easiest way to implement modern material popup menu.

PowerMenu ?? The powerful and easiest way to implement modern material popup menu. PowerMenu can be fully customized and used for popup dialogs. Downl

Jaewoong Eum 881 Jul 25, 2021
You can easily add awesome animated context menu to your app.

ContextMenu You can easily add awesome animated context menu to your app. Check this project on dribbble Check this project on Behance Usage: For a wo

Yalantis 3.8k Aug 5, 2021
A floating menu library for Android.

Hover Hover is a floating menu implementation for Android. Goals The goals of Hover are to: Provide an easy-to-use, out-of-the-box floating menu imple

Google 2.6k Jul 26, 2021
Bottom Navigation widget component inspired by the Google Material Design Guidelines at https://www.google.com/design/spec/components/bottom-navigation.html

Material Bottom Navigation Library Lightweight Bottom Navigation library component inspired by the Google Material Design Guidelines at https://www.go

Alessandro Crugnola 1.4k Jul 24, 2021
A new way to implement navigation in your app 🏎

ExpandableBottomBar A new way to improve navigation in your app Its really easy integrate to your project take it, faster, faster Important: library w

Alexander Dadukin 531 Aug 3, 2021
Side menu with some categories to choose.

Side Menu Side menu with some categories to choose. Check this project on dribbble. Check this project on Behance. God bless Ukraine! Sample Sample &

Yalantis 5.2k Jul 27, 2021
Android Satellite Menu

#Satellite Menu 'Path' has a very attractive menu sitting on the left bottom corner of the screen. Satellite Menu is the open version of this menu. Fo

Siyamed SINIR 1.4k Jul 23, 2021
(UNMAINTAINED) An implemention of Filter Menu concept for android

FilterMenu This is a library project with a custom view that implements concept of Filter Menu(https://dribbble.com/shots/1956586-Filter-Menu) made by

Lin Zhang 827 Aug 1, 2021
Simple and easy to use circular menu widget for Android.

Deprecated This project is no longer maintained. No new issues or pull requests will be accepted. You can still use the source or fork the project to

Anup Cowkur 423 Jul 31, 2021
An android custom view which looks like the menu in Path 2.0 (for iOS).

ArcMenu & RayMenu ArcMenu An android custom view which looks like the menu in Path 2.0 (for iOS). RayMenu About The user experience in Path 2.0 (for i

daCapricorn 1.4k Jul 23, 2021
Tap Bar Menu

TapBar Menu Simple library that helps creating a "Tap Bar" menu layout. Demo 1: https://youtu.be/DjY0cTWWtao Demo 2: https://youtu.be/dWuPMN6WTOY Inst

Mike 1k Jul 22, 2021
Animations for Android L drawer, back, dismiss and check icons

Material Menu Morphing Android menu, back, dismiss and check buttons Have full control of the animation: Including in your project compile 'com.balysv

Balys Valentukevicius 2.5k Jul 27, 2021
You can create awesome menus with bottom sheet experience in a few lines

You can create awesome menus with bottom sheet experience in a few lines

Mazen Rashed 14 May 24, 2021