从github上看到的一个实现Android L RippleView效果的比较好的一个实例
使用简单
方法一:代码中添加,view为需要实现效果的控件
  1. MaterialRippleLayout.on(view)
  2.            .rippleColor(Color.BLACK)
  3.            .create();
复制代码 方法二:xml中添加
  1.     android:id="@+id/ripple"
  2.     android:layout_width="match_parent"
  3.     android:layout_height="wrap_content">

  4.    
  5.         android:layout_width="match_parent"
  6.         android:layout_height="wrap_content"
  7.         android:layout_gravity="center"
  8.         android:text="Button inside a ripple"/>

复制代码 百度网盘共享地址: http://pan.baidu.com/s/1mgkhpW0
github原地址: https://github.com/balysv/material-ripple

效果图:


更多相关文章

  1. Ubuntu10.04下载并编译Android4.3源代码
  2. 【使用LeanCloud】在Android中添加一行数据
  3. windows下使用git下载android 代码
  4. Android笔记之:onConfigurationChanged详解
  5. 定义各种事物的类型
  6. 带你彻底理解 Window 和 WindowManager
  7. Android(安卓)解决 adapter.notifyDataSetChanged() 不起作用
  8. 新浪微博布局学习——妙用TabHost
  9. Android(安卓)自动更新 + IIS7 添加APK mime

随机推荐

  1. 【android】在Eclipse中关联所引用的jar
  2. 如何从android的联系人姓名中获取联系人
  3. 求教:如何通过JNI调用手机自身摄像头录像
  4. android开发之流量监控
  5. 探秘腾讯Android手机游戏平台之不安装游
  6. android插件化-apkplug框架启动-02
  7. 使用 VirtualBox 虚拟机在电脑上运行 And
  8. OpenGL es 2.0使用shadow mapping方法制
  9. Android复习练习十二(自定义ContentProvi
  10. 不能调用确定性可视性()从未看到PID的连