增加天气每小时显示,去掉autosize,增加svg显示
This commit is contained in:
@@ -23,6 +23,8 @@ android {
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
@@ -218,6 +220,11 @@ dependencies {
|
||||
//glide
|
||||
implementation 'com.github.bumptech.glide:glide:4.13.1'
|
||||
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.1'
|
||||
// SVG支持库
|
||||
implementation 'com.caverock:androidsvg:1.4'
|
||||
// 如果需要,添加Glide SVG模块(社区版)
|
||||
// implementation 'com.github.qoqa:glide-svg:2.0.4'
|
||||
|
||||
//RxJava
|
||||
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
|
||||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
||||
@@ -323,6 +330,6 @@ dependencies {
|
||||
implementation 'com.github.getActivity:XXPermissions:20.0'
|
||||
//autosize会改变第三方view的大小
|
||||
//https://github.com/JessYanCoding/AndroidAutoSize
|
||||
implementation 'me.jessyan:autosize:1.2.1'
|
||||
// implementation 'me.jessyan:autosize:1.2.1'
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user