https://github.com/samlss/timomenu
πA pop-up menu for android that supports multi-row scrollable submenus.
https://github.com/samlss/timomenu
android menu
Last synced: 10 months ago
JSON representation
πA pop-up menu for android that supports multi-row scrollable submenus.
- Host: GitHub
- URL: https://github.com/samlss/timomenu
- Owner: samlss
- License: apache-2.0
- Created: 2018-11-05T10:14:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T08:13:53.000Z (over 7 years ago)
- Last Synced: 2025-04-07T11:04:05.647Z (about 1 year ago)
- Topics: android, menu
- Language: Java
- Homepage:
- Size: 4.22 MB
- Stars: 252
- Watchers: 4
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://bintray.com/samlss/maven/timomenu/_latestVersion) [](https://android-arsenal.com/api?level=14#l14) [](https://github.com/samlss/TimoMenu/blob/master/LICENSE) [](https://github.com/samlss/TimoMenu/blob/master/apks/TimoMenu-V1.0.0.apk?raw=true)
[δΈζ](https://github.com/samlss/TimoMenu/wiki/%E4%B8%BB%E9%A1%B5)
### Features
- Multiple row items
- The menu appearance and disappear animation
- Header & Footer
- Custom item open animation & click effect
### Screenshots
#### Bottom

#### Center

#### Top

#### Header & Footer

#### Support 8 kinds of opening animations

------
### Dependency
#### Gradle
Add it in your module build.gradle at the end of repositories:
```java
dependencies {
implementation 'me.samlss:timomenu:1.0.0'
}
```
#### Maven
```java
me.samlss
timomenu
1.0.0
pom
```
### Sample Usage
```java
//create menu
TimoMenu timoMenu = new TimoMenu.Builder(this)
.setGravity(Gravity.BOTTOM)
.setMenuMargin(new Rect(20, 20, 20, 20))
.setMenuPadding(new Rect(0, 10, 0, 10))
.addRow('ItemAnimation', ' List')
.build();
//Show menu
timoMenu.show();
//Dismiss menu.
timoMenu.dismiss();
```
Please read [wiki](https://github.com/samlss/TimoMenu/wiki) for more descriptions.
### License
```
Copyright 2018 samlss
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.
```