An android custom view which looks like the menu in Path 2.0 (for iOS).
Switch branches/tags
Nothing to show
Clone or download
daCapricorn Merge pull request #13 from d-tarasov/master
ArcMenu configuration via XML
Latest commit 37b821f Aug 19, 2013

#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.


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(;

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

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

		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


or in

arcLayout.setArc(0.0f, 300.0f);    


Use attribute like custom:childSize directly into RayMenu and ArcMenu XML declaration. Also indicate the Drawable instances as sub elements of these tags.



I'm glad to make friends with the people who persist in faith and follow their dreams.

Please let me know you are around.

Google+: +魔羯