스플래시 화면 최적화: 네이티브 스플래시 화면 제거 및 Capacitor 스플래시 화면 개선
@@ -11,7 +11,7 @@ public class MainActivity extends BridgeActivity {
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
// 스플래시 화면 처리를 위한 추가 초기화 코드
|
||||
// Capacitor 스플래시 화면 플러그인 등록
|
||||
registerPlugin(SplashScreenPlugin.class);
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 50 KiB |
7
android/app/src/main/res/drawable/splash_screen.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/ic_launcher_background" />
|
||||
<item>
|
||||
<bitmap android:src="@drawable/splash" android:gravity="center" />
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -17,8 +17,10 @@
|
||||
|
||||
|
||||
<style name="AppTheme.NoActionBarLaunch" parent="AppTheme.NoActionBar">
|
||||
<item name="android:background">@drawable/splash</item>
|
||||
<item name="android:background">#00000000</item>
|
||||
<item name="android:statusBarColor">@color/ic_launcher_background</item>
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:windowDisablePreview">false</item>
|
||||
<item name="android:windowContentTransitions">true</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||