Action:alter

Description:修改VercodeEditText控件,修复下划线异常、height无法适配、宽度左右缩进问题;
TODO:修复无法输入bug
This commit is contained in:
yj
2017-06-12 11:05:25 +08:00
parent b296fa6620
commit c158f81795
7 changed files with 410 additions and 30 deletions

View File

@@ -1,17 +1,27 @@
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
def appVerCode = 1
def appVerName = "1.0.0"
publish {
userOrg = 'jkb'
groupId = 'com.justkiddingbaby'
artifactId = 'vercodeedittext'
publishVersion = appVerName
desc = 'An Android vercode edittext.(一个安卓验证码输入框)'
website = 'https://github.com/YangJing96/VercodeEditText'
}
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion Integer.parseInt(COMPILE_SDK_VERSION)
buildToolsVersion BUILDTOOLS_VERSION
defaultConfig {
minSdkVersion 12
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
minSdkVersion Integer.parseInt(MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(TARGET_SDK_VERSION)
versionCode appVerCode
versionName appVerName
}
buildTypes {
release {
@@ -19,13 +29,9 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions { abortOnError false }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
testCompile 'junit:junit:4.12'
compile "com.android.support:appcompat-v7:${SUPPORT_LIB_VERSION}"
}