Giter Club home page Giter Club logo

bubble-notification's Introduction

Android Arsenal

Demo

Examples list

Examples list

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 / UPDATE

  • 迁移到Android Studio

  • 添加Gif效果支持

  • 添加爆炸效果Gif (3/n)

  • 重构代码结构

  • 提交Jcenter

  • 待处理特效

    Examples list

    Examples list

    Examples list

    Examples list

    AE渲染, 导出序列帧, 再用PS制作Gif, 过程比较繁琐.没有找到方便的处理脚本 / 工具 / 方法的话,不会制作太多特效, 挑一些有特点的做一下.

  • Gif对Alpha支持非常差,渲染出的半透明光晕要么效果几乎没有,要么就是大片白色,未来可能添加 animation-list支持,并直接使用AE导出的序列帧.

License

Copyright 2015 Dean Ding

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.

Developed By

Dean [email protected]

Weibo:http://weibo.com/u/2699012760

Blog: http://dk-exp.com/

bubble-notification's People

Contributors

dkmeteor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bubble-notification's Issues

BUG

OOM has been sliding down after,一直上下滑动后出现 OOM

Crash after drag

public void finish(View target, float x, float y) {
            double distance = Math.sqrt(Math.pow(mBaseX - mTargetX, 2)
                            + Math.pow(mBaseY - mTargetY, 2));
            clearDatas();
            Canvas canvas = getHolder().lockCanvas();
            canvas.drawColor(Color.TRANSPARENT, Mode.CLEAR);

NullPointException on the last line.

Device : 华为荣耀六

I can't reappear on my device(小米1).
I will add some check for SurfaceView.

有些问题

为啥红点拖回去的时候也会不显示,而且有些其他的列表项也会消失

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.