FingerTransparentView
介绍:
类似 Instagram 径向羽化透露手指底部内容的 FingerTransparentView,Lg g3的锁屏界面也是这种效果。
运行效果:
使用说明:
dependencies {
compile 'me.drakeet.fingertransparentview:fingertransparentview:1.0.1'}
or
<dependency>
<groupId>me.drakeet.fingertransparentview</groupId>
<artifactId>fingertransparentview</artifactId>
<version>1.0.1</version>
</dependency>
<me.drakeet.fingertransparentview.FingerTransparentView
android:layout_width="match_parent"
android:layout_height="match_parent"
drakeet:transparent_radius="128dp"/>
<!--default: drakeet:transparent_radius="82dp"/>-->
Demo apk: https://github.com/drakeet/FingerTransparentView/raw/master/library-demo.apk
已下载
0