충돌 해결: 앱 아이콘 배경색 업데이트

This commit is contained in:
hansoo
2025-03-16 21:23:25 +09:00
12 changed files with 60 additions and 52 deletions

View File

@@ -1,3 +1,4 @@
apply plugin: 'com.android.application'
android {
@@ -49,6 +50,9 @@ dependencies {
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
implementation project(':capacitor-cordova-android-plugins')
// 스플래시 화면 플러그인 추가
implementation "androidx.core:core-splashscreen:1.0.0"
}
apply from: 'capacitor.build.gradle'

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
@@ -15,7 +16,8 @@
android:label="@string/title_activity_main"
android:theme="@style/AppTheme.NoActionBarLaunch"
android:launchMode="singleTask"
android:exported="true">
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@@ -1,5 +1,16 @@
package com.lovable.zellyfinance;
import android.os.Bundle;
import com.getcapacitor.BridgeActivity;
import com.getcapacitor.Plugin;
public class MainActivity extends BridgeActivity {}
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// 스플래시 화면 처리를 위한 추가 초기화 코드
registerPlugin(com.capacitorjs.plugins.splashscreen.SplashScreenPlugin.class);
}
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#f2f2f2</color>
</resources>
<color name="ic_launcher_background">#F0F4F8</color>
</resources>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
@@ -18,5 +19,6 @@
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
<item name="android:background">@drawable/splash</item>
<item name="android:statusBarColor">@color/ic_launcher_background</item>
</style>
</resources>
</resources>