• Stars
    star
    1,002
  • Rank 45,804 (Top 1.0 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

twitter like animation for any view 💓

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.

More Repositories

1

HTextView

Animation effects to text, not really textview
Java
5,620
star
2

PasscodeView

Material Design PasscodeView for Android.
Java
539
star
3

AnimateCheckBox

A custom view in Android with a animation when CheckBox status changed
Java
472
star
4

Conquer

A todo list app base Material Design
Java
433
star
5

500px-guideview

500px guideview demo
Java
382
star
6

SwipeRefreshLayout

谷歌的下拉刷新,新的界面效果
Java
368
star
7

LineHeightEditText

Fix edittext lineHeight and cursor length when set lineSpacingExtra or lineSpacingMultiplier
Java
203
star
8

hydrogenApp

hydrogen is a pluggable android app
Lua
170
star
9

ScrollViewOnTouch

仿百度助手头部搜索框缩放.
Java
139
star
10

luaDevAndroid

dev android use lua language
Java
135
star
11

SelectPicture

仿微信选择图片拍照
Java
129
star
12

RxSerach

RxSerach
Java
117
star
13

NumberAnimation

number view with 'add' animation
Java
61
star
14

PhotoViewer

imageView transition animation
Java
46
star
15

juejin_flutter

juejin client ui power by flutter
Dart
44
star
16

ToolBar

带动画的ActionBar --------- ToolBar(兼容低版本)
Java
43
star
17

ViewPager-Listview-item-Viewpager-

Viewpager中嵌套Listview,而且Listview的item中夹杂ViewPage
Java
43
star
18

MaterialCheckBox

Custom view to implement CheckBox in Material Design to 14+
Java
30
star
19

WeixinEye

高仿微信下拉小眼睛动画
Java
27
star
20

Hrn

hanks react-native-demo
JavaScript
23
star
21

SlideLayout

控制View的OnClick OnTouch来实现LsitView的Item的侧滑出现删除
Java
23
star
22

PlayerButton

用于播放音频文件的自定义按钮,有进度条,可暂停
Java
19
star
23

SelectorButton

Custom button that can implement click effect don't need create a selector.xml
Java
19
star
24

capturedata

tools to capture network data 抓包工具总结
19
star
25

FlyWoo

A android app can use the wifi hotspot transmit data without mobile network
Java
17
star
26

OpAnimateView

Material Design View with Animation
Java
14
star
27

BottomLayout

自定义组合控件,底部多按钮切换
Java
10
star
28

DeletableEditText

Custom Edittext with a delete button
Java
8
star
29

AndroidDesignPattern

source code in <<Android 源码设计模式解析与实战>>
Java
8
star
30

233333

鬼畜表情包 react-native版
JavaScript
7
star
31

NestedScroll

Java
6
star
32

eye-video

Vue
6
star
33

RecylerView

Swipe the item of RecylerView and Drag to sort item
Java
6
star
34

SuperRecyclerView

Just like super man :octocat:
Java
5
star
35

LuajAndroid

Android use Luaj
Java
4
star
36

GenerateBanner

generate a beautiful banner by canvas
JavaScript
3
star
37

MoblieSafe

just for learn
Java
2
star
38

MaterialDesign

Design support library with material
Java
2
star
39

TextAnimation

Java
2
star
40

apkInstaller

silent to install apks
Java
2
star
41

LoadingLayout

layout with three children, normal loading selected status
Java
2
star
42

buildluajava

build luajava so files in AS 2.3.2
C
2
star
43

U

:octocat:
Java
2
star
44

RxSimple

Java
2
star
45

themedemo

themedemo
Java
2
star
46

QRcode-scanning

use ZXing to recognize QRcode
Java
2
star
47

videowallpaper

1
star
48

blog-comment

1
star
49

blog_golang

blog api base on golang
Go
1
star
50

ActivityResultManager

convert `activity.startActivityForResult` to callback
Kotlin
1
star
51

lua-5.3.4-64_32

C
1
star
52

joke

joke data form qiqu.uc.cn
Vue
1
star
53

folder-widget

1
star
54

CircleImageView

simple to implemente a circle ImageView with border
Java
1
star
55

resume

a resume app running on android
Java
1
star
56

PythonBlog

Just learn Python
CSS
1
star
57

12306

find available ticket
1
star
58

hanks-zyh.github.io

blog
HTML
1
star
59

hkalbum

a android library to pick pictures form album or camera
1
star
60

AllApplication

Java
1
star
61

lua_into_android

lua 嵌入 Android
C
1
star
62

Flask-blog

a blog base on flask
HTML
1
star
63

AutoPictureforWord

给文字自动配图片
Java
1
star