twitter like animation for any view 💓
Branch: master
Clone or download
Latest commit a6bc3b1 Nov 23, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper v2 Nov 21, 2017
screenshots replace demo.apk Nov 24, 2017
simple release 1.2.2 Nov 23, 2017
smallbang-library release 1.2.2 Nov 23, 2017
.gitignore init project Dec 23, 2015
LICENSE Initial commit Dec 24, 2015
README.md Merge branch 'master' of github.com:hanks-zyh/SmallBang Nov 23, 2017
build.gradle add: add listActivity to demo Nov 21, 2017
gradle.properties init project Dec 23, 2015
gradlew init project Dec 23, 2015
gradlew.bat init project Dec 23, 2015
settings.gradle rename library-> smallbang-library Dec 25, 2015

README.md

SmallBang

twitter like animation for any view 💓

Demo APK

Usage

dependencies {
    implementation 'pub.hanks:smallbang:1.2.2'
}
<xyz.hanks.library.bang.SmallBangView
    android:id="@+id/like_heart"
    android:layout_width="56dp"
    android:layout_height="56dp">

    <ImageView
        android:id="@+id/image"
        android:layout_width="20dp"
        android:layout_height="20dp"
        android:layout_gravity="center"
        android:src="@drawable/heart_selector"
        android:text="Hello World!"/>
</xyz.hanks.library.bang.SmallBangView>

or

<xyz.hanks.library.bang.SmallBangView
    android:id="@+id/like_text"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:circle_end_color="#ffbc00"
    app:circle_start_color="#fa9651"
    app:dots_primary_color="#fa9651"
    app:dots_secondary_color="#ffbc00">

    <TextView
        android:id="@+id/text"
        android:layout_width="50dp"
        android:layout_height="20dp"
        android:layout_gravity="center"
        android:gravity="center"
        android:text="hanks"
        android:textColor="@color/text_selector"
        android:textSize="14sp"/>
</xyz.hanks.library.bang.SmallBangView>

Donate

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

Contact & Help

Please fell free to contact me if there is any problem when using the library.

welcome to commit issue & pr


License

This library is licensed under the Apache Software License, Version 2.0.

See LICENSE for full of the license text.

Copyright (C) 2015 [Hanks](https://github.com/hanks-zyh)

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.