Commit 10b0a81
committed
Update app launcher icon and enable release build optimizations
This commit updates the app's launcher icon assets and modifies the build configuration.
Key changes:
- **Launcher Icon Update:**
- Added new foreground launcher icon assets (`ic_launcher_foreground.webp`) for different screen densities (mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi).
- Updated existing `ic_launcher.webp` and `ic_launcher_round.webp` assets.
- Added a Play Store icon (`ic_launcher-playstore.png`).
- Created `app/src/main/res/values/ic_launcher_background.xml` to define the launcher icon background color as white (`#FFFFFF`).
- Updated `mipmap-anydpi-v26/ic_launcher.xml` and `mipmap-anydpi-v26/ic_launcher_round.xml` to use the new color resource for the background and reference the new foreground mipmap. The monochrome drawable reference was removed.
- **Build Configuration (`app/build.gradle.kts`):**
- Enabled `isMinifyEnabled = true` and `isShrinkResources = true` for release builds to optimize the APK size.
- Refined the logic for enabling ABI splits: `isEnable = project.findProperty("splitApk")?.toString()?.toBoolean() == true`. This ensures `isEnable` is explicitly true only if the property is "true".1 parent fdff00d commit 10b0a81
20 files changed
Lines changed: 13 additions & 8 deletions
File tree
- app
- src/main
- res
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
Loading
Loading
Loading
Loading
0 commit comments