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:
@@ -3,7 +3,7 @@ plugins {
|
||||
id 'com.google.gms.google-services'
|
||||
}
|
||||
|
||||
def appOutPutName = "1XACEAU"
|
||||
def appOutPutName = "KINGCUCI"
|
||||
|
||||
android {
|
||||
namespace rootProject.ext.namespace
|
||||
@@ -15,22 +15,22 @@ android {
|
||||
versionName rootProject.ext.versionName
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
applicationId "com.ahdas.xaceau"
|
||||
applicationId "com.ashda.KINGCUCI"
|
||||
|
||||
//app大背景色
|
||||
resValue('color', 'windows_color', '#1A1A1A')
|
||||
resValue('color', 'windows_color', '#000000')
|
||||
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
|
||||
resValue('color', 'style_color', '#08192A')
|
||||
resValue('color', 'style_color', '#E96006')
|
||||
//app 名字
|
||||
resValue('string', 'app_name', '1XACEAU')
|
||||
resValue('string', 'app_name', 'KINGCUCI')
|
||||
|
||||
|
||||
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
|
||||
buildConfigField "int", "USERID", "300"
|
||||
buildConfigField "int", "USERID", "304"
|
||||
buildConfigField "boolean", "IS_WHITE", "false"
|
||||
buildConfigField "boolean", "IS_ROUND", "true"
|
||||
buildConfigField "int", "ROUND_RADIUS", "10"
|
||||
buildConfigField "boolean", "HAS_CONTACT", "true"
|
||||
buildConfigField "boolean", "HAS_CONTACT", "false"
|
||||
buildConfigField "boolean", "HAS_HOOK", "false"
|
||||
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "932292522704",
|
||||
"project_id": "xaceau-53664",
|
||||
"storage_bucket": "xaceau-53664.firebasestorage.app"
|
||||
"project_number": "407032578282",
|
||||
"project_id": "kingcuci",
|
||||
"storage_bucket": "kingcuci.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:932292522704:android:521063bf4d7362e454a4d5",
|
||||
"mobilesdk_app_id": "1:407032578282:android:c8870d9f7b23cea0f2d793",
|
||||
"android_client_info": {
|
||||
"package_name": "com.ahdas.xaceau"
|
||||
"package_name": "com.ashda.KINGCUCI"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyAEPUZSDu21oB5WSSrqHLT0xE-rwHYoCtU"
|
||||
"current_key": "AIzaSyBwBa58YSXSbEZcA3Jkol9N9kHqmBQ8YTU"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 198 KiB |
Reference in New Issue
Block a user