All Projects → lilei644 → Springactionmenu

lilei644 / Springactionmenu

Licence: apache-2.0
This is a spring ActionMenu - 一个弹性的功能菜单

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Springactionmenu

Llslidemenu
This is a spring slide menu for iOS apps - 一个弹性侧滑菜单
Stars: ✭ 591 (+392.5%)
Mutual labels:  spring, menu
Urpm
urpm 是一套基于Laravel封装的后台用户管理权限系统,能够让开发者不用再关心权限问题,实现后台功能的快速开发。
Stars: ✭ 118 (-1.67%)
Mutual labels:  menu
Spring Cloud Build
Common build concerns, shared plugin configuration, etc. for Spring Cloud modules
Stars: ✭ 114 (-5%)
Mutual labels:  spring
Draggablemenu
A draggable menu that shows a thumbnail preview of an image grid
Stars: ✭ 117 (-2.5%)
Mutual labels:  menu
Awesome Backend Architecture
后端开发常用技术框架、数据库、开源中间件、微服务、系统架构集合。
Stars: ✭ 114 (-5%)
Mutual labels:  spring
Matrix
🔑 Nepxion Matrix is an AOP framework integrated with Spring AutoProxy, Spring Registrar and Spring Import Selector with high universality, robustness, flexibility and usability 面向注解的业务场景,包括代理、拦截、开关
Stars: ✭ 117 (-2.5%)
Mutual labels:  spring
Spring Framework 4 Reference
Chinese translation of the Spring Framework 4.x Reference Documentation (https://docs.spring.io/spring/docs/4.3.13.RELEASE/spring-framework-reference/html/) .中文翻译《Spring Framework 4.x参考文档》
Stars: ✭ 1,478 (+1131.67%)
Mutual labels:  spring
Extdirectspring
Implementation of the Ext Direct protocol with Java and Spring
Stars: ✭ 119 (-0.83%)
Mutual labels:  spring
Menu
A JavaScript free menu library for Blazor and Razor Components applications.
Stars: ✭ 118 (-1.67%)
Mutual labels:  menu
Pushy
Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
Stars: ✭ 1,488 (+1140%)
Mutual labels:  menu
Springfabmenu
A menu of FloatingActionButton items, designed to be anchored on an AppBarLayout.
Stars: ✭ 116 (-3.33%)
Mutual labels:  menu
Spring Boot 2 Oauth2 Authorization Jwt
Spring Boot 2 OAuth2 JWT Authorization server implementation with Database for Users and Clients (JPA, Hibernate, MySQL)
Stars: ✭ 115 (-4.17%)
Mutual labels:  spring
Ibase4j
Spring,SpringBoot 2.0,SpringMVC,Mybatis,mybatis-plus,motan/dubbo分布式,Redis缓存,Shiro权限管理,Spring-Session单点登录,Quartz分布式集群调度,Restful服务,QQ/微信登录,App token登录,微信/支付宝支付;日期转换、数据类型转换、序列化、汉字转拼音、身份证号码验证、数字转人民币、发送短信、发送邮件、加密解密、图片处理、excel导入导出、FTP/SFTP/fastDFS上传下载、二维码、XML读写、高精度计算、系统配置工具类等等。
Stars: ✭ 1,548 (+1190%)
Mutual labels:  spring
Java Interview
At the beginning, it was the repository with questions from Java interviews. Currently, it's more like knowledge base with useful links.
Stars: ✭ 114 (-5%)
Mutual labels:  spring
Jstarcraft Example
基于JStarCraft RNS引擎,Spring Boot框架和公共数据集搭建的千人千面演示项目. 系统会根据用户的行为记录,自动调整用户的推荐内容和搜索内容.使用者可以通过该项目了解*推荐系统*与*搜索系统*的运作流程. 涵盖了个性化推荐与个性化搜索2个部分.
Stars: ✭ 119 (-0.83%)
Mutual labels:  spring
Taotao Store
淘淘网上商城是一个综合性的B2C平台,类似京东商城、天猫商城。会员可以在商城浏览商品、下订单,以及参加各种活动。商家可以在入住淘淘商城,在该平台上开店出售自己的商品,并且得到淘淘商城提供的可靠的服务。管理员、运营可以在平台后台管理系统中管理商品、订单、会员等。客服可以在后台管理系统中处理用户的询问以及投诉。
Stars: ✭ 114 (-5%)
Mutual labels:  spring
Spring Native
Spring Native provides beta support for compiling Spring applications to native executables using GraalVM native-image compiler.
Stars: ✭ 2,282 (+1801.67%)
Mutual labels:  spring
Milkomeda
Spring extend componets which build from experience of bussiness, let developers to develop with Spring Boot as fast as possible.(基于Spring生态打造的一系列来自业务上的快速开发模块集合。)
Stars: ✭ 117 (-2.5%)
Mutual labels:  spring
Quickmenu
The new era of mobile navigation for the web, we're out of hamburgers.
Stars: ✭ 119 (-0.83%)
Mutual labels:  menu
Springboot
📚 springboot学习记录
Stars: ✭ 119 (-0.83%)
Mutual labels:  spring

SpringActionMenu

This is a spring ActionMenu - 一个弹性的功能菜单

Preview 预览

SpringActionMenu

Gif there is distortion, the actual effect is more flexible

gif存在失真,实际效果更加丝滑有弹性

Installation  安装

  • gradle
Step 1. Add the JitPack repository to your build file

allprojects {
    repositories {
        jcenter()

        maven { url "https://jitpack.io" }
    }
}
Step 2. Add the dependency

dependencies {
            compile 'com.github.lilei644:SpringActionMenu:1.0.1'
    }

Usage  用法

  • xml init   xml初始化
<com.lilei.springactionmenu.ActionMenu
        android:id="@+id/actionMenu"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_marginBottom="20dp"
        app:circleRadius="25dp"
        app:dimens="10dp"
        app:animationDuration="2500"
        app:expandDirect="expandDirectTop"
        app:buttonNormalColor="#ff5bc0de"
        app:buttonPressColor="#ff39b3d7"
        app:actionMenuIcon="@drawable/add"
        app:actionMenuOnIcon="@drawable/close"
        />
  • add menu items   添加菜单组件添加菜单组件添加
ActionMenu actionMenu = (ActionMenu) findViewById(R.id.actionMenu);

// add menu items
actionMenu.addView(R.drawable.search, getItemColor(R.color.menuNormalInfo), getItemColor(R.color.menuPressInfo));
actionMenu.addView(R.drawable.like, getItemColor(R.color.menuNormalRed), getItemColor(R.color.menuPressRed));
actionMenu.addView(R.drawable.write);
  • delegate  代理监听
actionMenu.setItemClickListener(new OnActionItemClickListener() {
    @Override
    public void onItemClick(int index) {

    }

    @Override
    public void onAnimationEnd(boolean isOpen) {

    }
});
  • attr property   属性
name format description default
circleRadius dimension Round menu radius 30
dimens dimension The spacing of the menu items 30
animationDuration integer Animation duration 500
buttonNormalColor color Button The color in normal condition Color.RED
buttonPressColor color The color of the button click status Color.RED
actionMenuIcon reference Menu icon --
actionMenuOnIcon reference The icon when the menu is open --
expandDirect enum The direction of the menu extension expandDirectTop

Requirements  版本要求

Android 14+

License

   Copyright 2016 lilei644

   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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].