美文网首页
弹簧效果切换按钮

弹簧效果切换按钮

作者: 拉贝 | 来源:发表于2017-10-10 16:54 被阅读13次

利用facebook的弹簧库

附上github地址:https://github.com/xiaobinbin7530/ReboundButton

Step 1 Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2 Add the dependency

dependencies { compile 'com.github.xiaobinbin7530:ReboundButton:V1.0' }

Step 3 

相关文章

网友评论

      本文标题:弹簧效果切换按钮

      本文链接:https://www.haomeiwen.com/subject/khqbyxtx.html