Skip to content

haikuowuya/Bubble-Notification

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo

Examples list

Effect like QQ 5.0 and add an explosion animation.

How to use

<com.dk.view.drop.WaterDrop
	android:id="@+id/drop"
	android:layout_width="25dp"
	android:layout_height="25dp"
	android:gravity="center_vertical" />

WaterDrop drop = (WaterDrop) convertView.findViewById(R.id.drop);
	drop.setText(String.valueOf(position));
	drop.setOnDragCompeteListener(new OnDragCompeteListener() {

			@Override
			public void onDrag() {
				Toast.makeText(MainActivity.this, "remove:" + position,
						Toast.LENGTH_SHORT).show();
			}
		});

TODO

1.The line is not smooth , I'd refine it soon.

2.Support several different styles.

License

Copyright (c) 2014 Dean Ding

Licensed under the Apache License, Version 2.0

About

Android 类似QQ消息数目消失动画

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published