[Android(安卓)L]Android(安卓)L RippleView 效果 低版本实现
16lz
2021-01-26
从github上看到的一个实现Android L RippleView效果的比较好的一个实例
使用简单
方法一:代码中添加,view为需要实现效果的控件
github原地址: https://github.com/balysv/material-ripple
使用简单
方法一:代码中添加,view为需要实现效果的控件
- MaterialRippleLayout.on(view)
- .rippleColor(Color.BLACK)
- .create();
-
- android:id="@+id/ripple"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="Button inside a ripple"/>
-
github原地址: https://github.com/balysv/material-ripple
效果图:
更多相关文章
- Ubuntu10.04下载并编译Android4.3源代码
- 【使用LeanCloud】在Android中添加一行数据
- windows下使用git下载android 代码
- Android笔记之:onConfigurationChanged详解
- 定义各种事物的类型
- 带你彻底理解 Window 和 WindowManager
- Android(安卓)解决 adapter.notifyDataSetChanged() 不起作用
- 新浪微博布局学习——妙用TabHost
- Android(安卓)自动更新 + IIS7 添加APK mime