Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HackPlan/AndroidArcMenu

Open more actions menu

Repository files navigation

AndroidArcMenu

An easy-to-use arc Menu library for Android.

Demo

Sample

Get it on Google Play

or

demo.apk

Including in Your Project

repositories {
    jcenter()
}
compile 'com.hackplan.androidarcmenu:library:1.1.0'

Usage

Basic

arcMenu = new ArcMenu.Builder(activity)
        .setId(ARC_MENU_ID_1)
        .addBtn(R.drawable.a, id1)
        .addBtn(R.drawable.b, id2)
        .setListener(listener)
        .showOnTouch(btn2)
        .hideOnTouchUp(false)
        .build();

More things

Desc

arcMenu = new ArcMenu.Builder(activity)
        .addBtns(new ArcButton.Builder(menuBtn, 2),
                new ArcButton.Builder(new SimpleCirView(this)
                        .setText("2")
                        .setCirColor(Color.parseColor("#03A9F4"))
                        .setTextColor(Color.WHITE)
                        .setTextSizeInSp(22)
                        .setBackgroundRadiusInPx(22),
                        3))
        .setListener(MainActivity.this)
        .showOnLongClick(btn1)
        .setDegree(160)
        .setRadius(222)
        .build();
        
arcMenu.showOn(view); //Show Manually

LICENSE

Copyright (C) 2016 Ding Wenhao

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.

About

An easy-to-use arc Menu library for Android.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.