SmallBang

Additional

Language
Java
Version
N/A
Created
Dec 24, 2015
Updated
Nov 24, 2017 (Retired)
Owner
hanks (hanks-zyh)
Contributors
César Ferreira (cesarferreira)
hanks (hanks-zyh)
2
Activity
Badge
Generate
Download
Source code
APK file

Commercial

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 :)

Contact & Help

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

welcome to commit issue & pr