Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tommybuonomo/morph-bottom-navigation
This library represents a Bottom Navigation with an awesome morph effect on top of the selected item
https://github.com/tommybuonomo/morph-bottom-navigation
android bottomnavigation bottomnavigationbar bottomnavigationlibrary bottomnavigationview library materialcomponents materialdesign morphing-animations
Last synced: 3 days ago
JSON representation
This library represents a Bottom Navigation with an awesome morph effect on top of the selected item
- Host: GitHub
- URL: https://github.com/tommybuonomo/morph-bottom-navigation
- Owner: tommybuonomo
- License: apache-2.0
- Created: 2018-06-10T22:35:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-20T09:59:36.000Z (almost 4 years ago)
- Last Synced: 2025-01-15T13:49:26.226Z (10 days ago)
- Topics: android, bottomnavigation, bottomnavigationbar, bottomnavigationlibrary, bottomnavigationview, library, materialcomponents, materialdesign, morphing-animations
- Language: Kotlin
- Homepage:
- Size: 167 KB
- Stars: 1,016
- Watchers: 16
- Forks: 102
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kotlin - morph-bottom-navigation - This library represents a Bottom Navigation with an awesome morph effect on top of the selected item (Libraries)
- awesome-list - morph-bottom-navigation
README
# Morph Bottom Navigation
[ ![Download](https://api.bintray.com/packages/tbuonomo/maven/morph-bottom-navigation/images/download.svg) ](https://bintray.com/tbuonomo/maven/morph-bottom-navigation/_latestVersion)This library represents a Bottom Navigation with an awesome morph effect on top of the selected item.
![ezgif com-crop](https://user-images.githubusercontent.com/15737675/41735760-d633e706-758a-11e8-9f30-3f07c8ed4371.gif)
Don't forget to star the project if you like it!
![star](https://user-images.githubusercontent.com/15737675/39397370-85f5b294-4afe-11e8-9c02-0dfdf014136a.png)
== ![heart](https://user-images.githubusercontent.com/15737675/39397367-6e312c2e-4afe-11e8-9fbf-32001b0165a1.png)
And feel free to submit issues and enhancement requests !
![ezgif com-video-to-gif](https://user-images.githubusercontent.com/15737675/41736506-026b6fd6-758d-11e8-9be6-7bc217aaa1e8.gif)
![ezgif com-video-to-gif 1](https://user-images.githubusercontent.com/15737675/41736508-03b14cf8-758d-11e8-8bef-3909528f405d.gif)
![ezgif com-video-to-gif 2](https://user-images.githubusercontent.com/15737675/41736510-04dc9ce0-758d-11e8-9951-11d924ebc6b0.gif)## How to
#### Gradle
```Gradle
dependencies {
implementation 'com.tbuonomo:morph-bottom-navigation:1.0.1'
}
```
#### Usage
`MorphBottomNavigationView` extends the `BottomNavigationView` from the official [Google Material Component repository](https://github.com/material-components/material-components-android), so you can use it as described on the [Android Developers documentation](https://developer.android.com/reference/com/google/android/material/bottomnavigation/BottomNavigationView)#### In your XML layout
```Xml```
#### Custom Attributes
| Attribute | Description |
| --- | --- |
| `backgroundTint` | Color of the bottom navigation background |
| `morphCornerRadius` | Radius in dp of the morph corners (by default 128dp) |
| `morphItemRadius` | Radius in dp of the morph item circle shape (by default 64dp) |
| `morphVerticalOffset` | The vertical offset of the morph shape above the bottom navigation (by default 8dp) |## License
Copyright 2018 Tommy Buonomo
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.