2021.04.26

added  ToggleButton
This commit is contained in:
FHT
2021-04-26 11:55:06 +08:00
parent 85944ed6ce
commit a2d591eaf3
14 changed files with 795 additions and 3 deletions

36
viewlibrary/build.gradle Normal file
View File

@@ -0,0 +1,36 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.2.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.facebook.rebound:rebound:0.3.6'
// implementation 'com.zcw:togglebutton-library:1.0.0'
implementation 'com.github.zcweng:switch-button:0.0.3@aar'
}