Files
zellyy-finance/src/android-icon-guide.md
gpt-engineer-app[bot] 19f68eed0a Fix: Address codebase error
2025-03-15 23:36:42 +00:00

1.4 KiB

안드로이드 앱 아이콘 설정 가이드

안드로이드 앱 아이콘을 설정하려면 다음 단계를 따르세요:

  1. android/app/src/main/res/ 폴더로 이동합니다.

  2. 각 mipmap 폴더에 적절한 크기의 앱 아이콘을 넣습니다:

    • mipmap-mdpi/ic_launcher.png: 48x48 px
    • mipmap-hdpi/ic_launcher.png: 72x72 px
    • mipmap-xhdpi/ic_launcher.png: 96x96 px
    • mipmap-xxhdpi/ic_launcher.png: 144x144 px
    • mipmap-xxxhdpi/ic_launcher.png: 192x192 px
  3. 적응형 아이콘의 경우 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>
  1. 아이콘 배경색을 android/app/src/main/res/values/colors.xml에 추가합니다:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="ic_launcher_background">#FFFFFF</color>
</resources>
  1. strings.xml 파일에서 앱 이름이 올바르게 설정되어 있는지 확인합니다:
<resources>
    <string name="app_name">젤리의 적자탈출</string>
</resources>

이미지 변환 도구: