feat(android): 添加多个新模块并更新系统栏适配逻辑

- 在settings.gradle中引入多个新模块,包括we88sg26、NEPSPIN88、2URUS等
- 更新各新模块build.gradle配置,修改应用ID、资源颜色、应用名、用户ID等信息
- 替换各新模块google-services.json配置,更新Firebase项目参数和API密钥
- 优化MainActivity、NotifyListActivity、WebViewActivity中的系统栏适配逻辑
- 引入WindowCompat和WindowInsetsControllerCompat支持,实现沉浸式状态栏和导航栏处理
- 通过applySystemBarInsets方法统一处理系统栏颜色和内边距,提高多版本兼容性
- 删除过时的enableEdgeToEdge方法,代码简化并提升可维护性
- 设置系统栏状态图标颜色亮度基于背景色亮度计算,提升视觉效果一致性
This commit is contained in:
2026-07-30 17:14:20 +08:00
parent 369e30ca55
commit e3fdac7bb0
47 changed files with 374 additions and 231 deletions

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services'
}
def appOutPutName = "Joker9au"
def appOutPutName = "we88sg"
android {
namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.sdadh.Joker9au"
applicationId "com.noti.we88sg26"
//app大背景色
resValue('color', 'windows_color', '#030511')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#030511')
//app 名字
resValue('string', 'app_name', 'Joker9au')
resValue('string', 'app_name', 'we88sg')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "297"
buildConfigField "int", "USERID", "22"
buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{
"project_info": {
"project_number": "282387029037",
"project_id": "joker9au",
"storage_bucket": "joker9au.firebasestorage.app"
"project_number": "1028817181372",
"project_id": "we88sg26",
"storage_bucket": "we88sg26.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:282387029037:android:88ecedbdf5f19ff14faca4",
"mobilesdk_app_id": "1:1028817181372:android:c0c246bc3eb88035058eb9",
"android_client_info": {
"package_name": "com.sdadh.Joker9au"
"package_name": "com.noti.we88sg26"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyCXLeN1cUPWlJEoRd3JeWxKQH1isGPrsbY"
"current_key": "AIzaSyD0YIp3Rnd8uDQuvov_cv3fTJKWG-Ln80w"
}
],
"services": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 327 KiB