Commit 5656d2c
feat: Add Android Adaptive Icons support
Implement adaptive icons for Android 8.0 (API 26) and above following official Android guidelines.
Changes:
- Create mipmap-anydpi-v26 directory with ic_launcher.xml and ic_launcher_round.xml
- Add ic_launcher_foreground.xml with V2EX logo scaled for 108dp canvas
- Add ic_launcher_background.xml with solid color background
- Support monochrome layer for Android 13+ Material You theming
- Maintain backward compatibility with existing PNG icons for older devices
The implementation uses the existing logo_svg.xml and respects day/night theme colors.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 40fb779 commit 5656d2c
File tree
4 files changed
+36
-0
lines changed- app/src/main/res
- drawable
- mipmap-anydpi-v26
4 files changed
+36
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments