-
Notifications
You must be signed in to change notification settings - Fork 91
修复Android15开始标题栏跑到手机的状态栏下面去导致无法点击的问题 #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
84199d0
1d179a7
7a9579e
1bd5cc2
4c69727
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,12 @@ apply plugin: 'maven-publish' | |
group='com.github.rosuH' | ||
|
||
android { | ||
namespace 'me.rosuh.filepicker' | ||
defaultConfig { | ||
minSdkVersion 16 | ||
compileSdk 33 | ||
targetSdkVersion 33 | ||
minSdkVersion 21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
compileSdk 35 | ||
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
|
||
} | ||
|
||
|
@@ -28,8 +28,8 @@ android { | |
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
sourceCompatibility JavaVersion.VERSION_17 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 同理,这里也不需要调整~ |
||
targetCompatibility JavaVersion.VERSION_17 | ||
} | ||
} | ||
|
||
|
@@ -49,18 +49,17 @@ afterEvaluate { | |
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
compileOnly 'com.squareup.picasso:picasso:2.5.2' | ||
compileOnly ("com.github.bumptech.glide:glide:4.9.0") { | ||
compileOnly 'com.squareup.picasso:picasso:2.71828' | ||
compileOnly ('com.github.bumptech.glide:glide:5.0.5') { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Glide 尽量不要调整太高。 |
||
exclude group: "com.android.support" | ||
} | ||
def kotlin_version = '1.6.0' | ||
def kotlin_version = '1.8.22' | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | ||
|
||
implementation 'androidx.appcompat:appcompat:1.3.0' | ||
implementation 'androidx.recyclerview:recyclerview:1.2.1' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.1.2' | ||
implementation 'androidx.appcompat:appcompat:1.7.1' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 同理。作为一个库,不应该依赖太高版本的第三方库。不然会影响宿主 APP 的编译。 |
||
implementation 'androidx.recyclerview:recyclerview:1.4.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1' | ||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" | ||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.5' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' | ||
testImplementation 'junit:junit:4.13.2' | ||
// Removed androidTest dependencies to avoid minSdk conflicts in library module | ||
} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Sep 16 10:42:32 CST 2020 | ||
#Mon Oct 06 22:17:01 CST 2025 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kotlin 版本不建议升级,不然如果 APP kotlin 低于 1.8.22,那么就会无法引入这个库了。