Giter Club home page Giter Club logo

customripple's Introduction

CustomRipple

自定义安卓控件波纹效果

1.概述

通过不停绘制圆来模拟Android5.0 Ripple Effect

(1)支持多重波纹。

(2)支持波纹生命周期监听。

(3)支持调整波纹颜色、速度、加速效果、形状。

2.用法

TLRipple.java:绘制单个波纹 这个类被TLRipples使用。

TLRipples.java:绘制多重波纹 这个类被控件使用。

TLRippleButton.java:展现了如何使用TLRipples。

ThemeManager.java:提供了统一修改波纹效果的接口。

MainActivity.java:展现了包括系统默认Ripple、系统定制Ripple、自定义Ripple的效果

customripple's People

Contributors

wisdomtl avatar

Watchers

James Cloos avatar

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.