Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SmartMenu

> 编程语言
Open source

A beautiful floating menu

198 stars0 likes1 views
WebsiteGitHub

About

A beautiful floating menu

##Inspired By MeterialUp

###Screenshot

###How To Use

    
          
        
        
        
        
        
        
        
        
    

inner_padding —— 图标之间的距离

outer_padding —— 左右边界距离图标的距离

smart_btn_size —— 中间的按钮的尺寸

vertical_padding —— 菜单的上边界和中间按钮的上边界的距离

dot_radius —— 中间按钮的小圆点的半径

dot_distance —— 左边的小圆点和右边的小圆点的距离(包括左右圆点的直径)

dot_color —— 圆点的颜色

bg_color —— 控件的背景颜色

shadow_color —— 阴影的颜色

MenuAdapter

…

通过给SmartMenu设置Adapter来添加icon,count数目需要是偶数,否则宽度计算会有错误。

###License

MIT License

Copyright (c) 2016 Jake

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言