fix: update readme
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -8,7 +8,6 @@
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/corelibrary" />
|
||||
<option value="$PROJECT_DIR$/simple" />
|
||||
</set>
|
||||
</option>
|
||||
|
||||
1
.idea/modules.xml
generated
1
.idea/modules.xml
generated
@@ -3,7 +3,6 @@
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/VerificationCodeInput.iml" filepath="$PROJECT_DIR$/VerificationCodeInput.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/corelibrary/corelibrary.iml" filepath="$PROJECT_DIR$/corelibrary/corelibrary.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/simple/simple.iml" filepath="$PROJECT_DIR$/simple/simple.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
|
||||
20
README.md
20
README.md
@@ -1,9 +1,11 @@
|
||||
# VerificationCodeInput
|
||||
[](https://jitpack.io/#liuguangli/VerificationCodeInput)
|
||||
|
||||
简洁验证码输入框,能自定义输入框个数和样式。
|
||||
|
||||

|
||||
|
||||
# how to use
|
||||
# How to use
|
||||
<com.dalimao.corelibrary.VerificationCodeInput
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -50,6 +52,22 @@
|
||||
android:layout_marginBottom="16dp"
|
||||
/>
|
||||
|
||||
# Gradle dependencies
|
||||
|
||||
Add it in your root build.gradle at the end of repositories:
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
...
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
}
|
||||
Step 2. Add the dependency
|
||||
|
||||
dependencies {
|
||||
compile 'com.github.liuguangli:VerificationCodeInput:1.0'
|
||||
}
|
||||
Share this release:
|
||||
|
||||
# MIT
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
maven {
|
||||
url "https://plugins.gradle.org/m2/"
|
||||
}
|
||||
maven { url "https://jitpack.io" }
|
||||
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||
|
||||
@@ -1 +1 @@
|
||||
include ':simple', ':corelibrary'
|
||||
include ':simple'//, ':corelibrary'
|
||||
|
||||
Reference in New Issue
Block a user