feat: 联系人增加头像选择

This commit is contained in:
2026-05-30 04:07:18 +08:00
parent 87903b7216
commit 1c89943459
52 changed files with 1892 additions and 226 deletions

View File

@@ -22,7 +22,7 @@ android {
applicationId "com.ttstd.dialer"
//There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature.
// minSdkVersion 23
minSdkVersion 23
targetSdkVersion 37
versionCode 1
versionName "1.0"
@@ -98,20 +98,19 @@ android {
}
}
flavorDimensions "version"
productFlavors {
// 用于正常开发和发布的版本
normal {
dimension "version"
minSdkVersion 23 // 你的原始最低版本
}
// 专门用于调试高版本特性的版本
debugApi26 {
dimension "version"
minSdkVersion 31 // 为了使用 Database Inspector
}
}
// flavorDimensions "version"
// productFlavors {
// // 用于正常开发和发布的版本
// normal {
// dimension "version"
// minSdkVersion 23 // 你的原始最低版本
// }
// // 专门用于调试高版本特性的版本
// debugApi26 {
// dimension "version"
// minSdkVersion 31 // 为了使用 Database Inspector
// }
// }
signingConfigs {
keypub {
@@ -232,6 +231,10 @@ dependencies {
implementation "androidx.viewpager2:viewpager2:1.1.0"
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation "androidx.work:work-runtime:2.9.0"
implementation 'androidx.browser:browser:1.8.0'
implementation "androidx.webkit:webkit:1.14.0"
// Room依赖
implementation "androidx.room:room-runtime:2.8.4"
implementation "androidx.room:room-rxjava3:2.8.4"
@@ -358,8 +361,6 @@ dependencies {
kapt 'com.arialyy.aria:compiler:3.8.15'
//状态栏透明
implementation 'com.gitee.zackratos:UltimateBarX:0.8.0'
//指示器
implementation 'com.github.hackware1993:MagicIndicator:1.7.0'
implementation 'com.opencsv:opencsv:5.12.0'
// 吐司框架https://github.com/getActivity/Toaster
@@ -368,6 +369,24 @@ dependencies {
implementation 'com.github.getActivity:XXPermissions:20.0'
implementation 'com.github.zcweng:switch-button:0.0.3@aar'
implementation "com.github.kongzue.DialogX:DialogX:0.0.50"
implementation 'cn.6tail:lunar:1.7.7'
implementation "io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.4.0"
implementation 'io.github.youth5201314:banner:2.2.3'
// TinyPinyin核心包约80KB
implementation 'com.github.promeg:tinypinyin:2.0.3'
// 可选适用于Android的中国地区词典
implementation 'com.github.promeg:tinypinyin-lexicons-android-cncity:2.0.3'
// PictureSelector 基础 (必须)
implementation 'io.github.lucksiege:pictureselector:v3.11.2'
// 图片压缩 (按需引入)
implementation 'io.github.lucksiege:compress:v3.11.2'
// 图片裁剪 (按需引入)
implementation 'io.github.lucksiege:ucrop:v3.11.2'
// 自定义相机 (按需引入)
implementation 'io.github.lucksiege:camerax:v3.11.2'
}
// 在 dependencies 之后添加