1.4 KiB
1.4 KiB
안드로이드 앱 아이콘 설정 가이드
안드로이드 앱 아이콘을 설정하려면 다음 단계를 따르세요:
-
android/app/src/main/res/폴더로 이동합니다. -
각 mipmap 폴더에 적절한 크기의 앱 아이콘을 넣습니다:
mipmap-mdpi/ic_launcher.png: 48x48 pxmipmap-hdpi/ic_launcher.png: 72x72 pxmipmap-xhdpi/ic_launcher.png: 96x96 pxmipmap-xxhdpi/ic_launcher.png: 144x144 pxmipmap-xxxhdpi/ic_launcher.png: 192x192 px
-
적응형 아이콘의 경우
mipmap-anydpi-v26/ic_launcher.xml파일을 편집합니다:
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
- 아이콘 배경색을
android/app/src/main/res/values/colors.xml에 추가합니다:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>
strings.xml파일에서 앱 이름이 올바르게 설정되어 있는지 확인합니다:
<resources>
<string name="app_name">젤리의 적자탈출</string>
</resources>
이미지 변환 도구:
- Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/
- App Icon Generator: https://appicon.co/