Monday, 20 August 2012

Stylish menu in Android

An android custom view which looks like the menu in Path 2.0 (for iOS).
I try to realize the stylish menu for android, which could be equal to the iOS version's.

To setup the menu:


CircleMenu circleMenu = (CircleMenu) findViewById(R.id.circle_menu);
for (int i = 0; i < itemCount; i++) {
ImageView item = new ImageView(this);
item.setImageResource(ITEM_DRAWABLES[i]);
final int position = i;
circleMenu.addItem(item, new OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(MainActivity.this, "position:" + position, Toast.LENGTH_SHORT).show();
}
});// Add a menu item
}


4 comments:

  1. i want to add this menu in my application. Tell me name of library. I used arc menu in my application. i want to put menu on bottom | right but not able to get at the end of screen. will you please help me to resolve the prroblem

    ReplyDelete
    Replies
    1. https://github.com/siyamed/android-satellite-menu/

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. I want to rotate this menu, i need help , please help me.

    ReplyDelete