https://github.com/tellh/floatingactionbuttonpro
Extend from FloatingActionButton for Android
https://github.com/tellh/floatingactionbuttonpro
Last synced: 8 months ago
JSON representation
Extend from FloatingActionButton for Android
- Host: GitHub
- URL: https://github.com/tellh/floatingactionbuttonpro
- Owner: TellH
- Created: 2016-02-24T05:57:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-24T12:22:55.000Z (over 10 years ago)
- Last Synced: 2023-03-08T10:13:52.274Z (over 3 years ago)
- Language: Java
- Homepage:
- Size: 1.57 MB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FloatingActionButtonPro
Extend from [FloatingActionButton](https://github.com/makovkastar/FloatingActionButton)
##usage
add this in your build.gradle(app module):
```
dependencies {
compile 'com.tellh:library:1.0'
}
```
And add this to your build.gradle(application root dir):
```
allprojects {
repositories {
jcenter()
maven {
url 'https://dl.bintray.com/tellh/maven/'
}
}
}
```
##Features:
* fab with scale transform animation:

xml:
```
```
* in RecyclerView , you can use the smoothly scale transform during dragging:

xml is the same above. But some difference in java code.
```
fab.attachToRecyclerView(recyclerView,null,null,true);//pass the ture flag if you need this effect.
```
* in RecyclerView , you can also use the smoothly translate transform during dragging:

xml:
```
```
java code:
```
fab.attachToRecyclerView(recyclerView,null,null,true);//pass the ture flag if you need this effect.
```