ArcMenu
An android custom view which looks like the menu in Path 2.0 (for iOS).
Install / Use
/learn @daCapricorn/ArcMenuREADME
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 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);
Related Skills
node-connect
341.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.5kCommit, push, and open a PR
