您的位置:首页 > 其它

打字机效果

2016-11-04 10:57 176 查看

TyperEditText

项目地址:andyxialm/TyperEditText

简介:打字机效果

 

Typerwriter

Usage

Gradle

Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.andyxialm:TyperEditText:1.0.0'
}

Maven

Step 1. Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency
<dependency>
<groupId>com.github.andyxialm</groupId>
<artifactId>TyperEditText</artifactId>
<version>1.0.0</version>
</dependency>
Edit your layout XML:
<cn.refactor.typer.TyperEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
typer:characterWriteInterval="200"
typer:punctuationWriteInterval="600"
typer:touchable="false"/>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: