文件名称:Android代码-跳转Activity的Matiral动画效果
文件大小:709KB
文件格式:ZIP
更新时间:2022-08-26 05:36:56
Android代码
WaveCompat Wave effect of activity animation How to use 1. Bind wave touch helper to a view which will start an activity when it clicked: WaveTouchHelper.bindWaveTouchHelper(view, onWaveTouchHelperListener); 2. Override onWaveTouchUp() method in OnWaveTouchHelperListener: @Override public void onWaveTouchUp(View view, Point locationInView, Point locationInScreen) { WaveCompat.startWaveFilter(this, new WaveDrawable() .setColor(0xff8B2252) .setTouchPoint(locat
【文件预览】:
WaveCompat-master
----screenshot()
--------wave_compat_a.gif(301KB)
--------wave_compat_b.gif(349KB)
----gradlew.bat(2KB)
----gradlew(5KB)
----example()
--------proguard-rules.pro(667B)
--------src()
--------.gitignore(7B)
--------example.iml(7KB)
--------build.gradle(965B)
----gradle.properties(855B)
----library()
--------proguard-rules.pro(667B)
--------src()
--------.gitignore(7B)
--------build.gradle(759B)
--------library.iml(7KB)
----LICENSE(11KB)
----gradle()
--------wrapper()
----.gitignore(81B)
----README.md(2KB)
----WaveCompat.iml(866B)
----settings.gradle(31B)
----build.gradle(436B)