修改layout目录改为layout_sw800dp,优化调料显示UI,其它细节优化
This commit is contained in:
+30
-8
@@ -1,3 +1,4 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
@@ -21,6 +22,8 @@ android {
|
||||
abiFilters.addAll(listOf("armeabi", "armeabi-v7a"))
|
||||
//, 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
|
||||
}
|
||||
|
||||
resConfigs("sw800dp")
|
||||
}
|
||||
signingConfigs {
|
||||
create("debug_507") {
|
||||
@@ -58,6 +61,25 @@ android {
|
||||
pickFirst("lib/armeabi-v7a/libserial_port.so")
|
||||
pickFirst("lib/arme64-v8a/libserial_port.so")
|
||||
}
|
||||
sourceSets {
|
||||
named("main") {
|
||||
res.setSrcDirs(
|
||||
listOf(
|
||||
"src/main/res",
|
||||
"src/main/res/layout-sw800dp"
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
lint {
|
||||
disable.add("MissingDefaultResource")
|
||||
}
|
||||
// productFlavors {
|
||||
// create("sw800dp") {
|
||||
// dimension = "screen"
|
||||
//// resConfigs("en", "xxhdpi") // 可选额外配置
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -91,14 +113,14 @@ dependencies {
|
||||
implementation("io.github.scwang90:refresh-header-classics:3.0.0-alpha")
|
||||
//经典刷新头
|
||||
implementation("io.github.scwang90:refresh-header-radar:3.0.0-alpha")
|
||||
//雷达刷新头
|
||||
implementation("io.github.scwang90:refresh-header-falsify:3.0.0-alpha")
|
||||
//虚拟刷新头
|
||||
implementation("io.github.scwang90:refresh-header-material:3.0.0-alpha")
|
||||
//谷歌刷新头
|
||||
implementation("io.github.scwang90:refresh-header-two-level:3.0.0-alpha")
|
||||
//二级刷新头
|
||||
implementation("io.github.scwang90:refresh-footer-ball:3.0.0-alpha")
|
||||
// //雷达刷新头
|
||||
// implementation("io.github.scwang90:refresh-header-falsify:3.0.0-alpha")
|
||||
// //虚拟刷新头
|
||||
// implementation("io.github.scwang90:refresh-header-material:3.0.0-alpha")
|
||||
// //谷歌刷新头
|
||||
// implementation("io.github.scwang90:refresh-header-two-level:3.0.0-alpha")
|
||||
// //二级刷新头
|
||||
// implementation("io.github.scwang90:refresh-footer-ball:3.0.0-alpha")
|
||||
//球脉冲加载
|
||||
implementation("io.github.scwang90:refresh-footer-classics:3.0.0-alpha")
|
||||
//经典加载
|
||||
|
||||
Reference in New Issue
Block a user