Skip to content

DYNC-Android/AddHeart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

AddHeart

点赞爱心往上漂浮效果

How to use?

image image image image So easy~

Imported the File into Your Project~

then XML:

 <com.dync.addheart.Heart
      android:id ="@+id/heart"
      android:layout_width="match_parent"
      android:layout_height="match_parent">
  </com.dync.addheart.Heart>
  

Activity:

Heart heart= (Heart) findViewById(R.id.heart);
    findViewById(R.id.btn).setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            heart.addHeart();
        }
    });

About

点赞爱心往上漂浮效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages