We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 13 introduces a new kind of customization: Themed Icons. With it, it's possible to make the app's icons use the theme color.
Example:
Currently Godot doesn't support Themed Icons without create a custom project.
Godot could have a theme icon field in the Launcher Icons options.
theme icon
Basicly, Godot supports adaptive icons with the following XML:
<?xml version="1.0" encoding="utf-8"?> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@mipmap/icon_background"/> <foreground android:drawable="@mipmap/icon_foreground"/> </adaptive-icon>
By adding one line, it will support themed icons (<monochrome android:drawable="@mipmap/icon_monochrome"/>:
<monochrome android:drawable="@mipmap/icon_monochrome"/>
<?xml version="1.0" encoding="utf-8"?> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@mipmap/icon_background"/> <foreground android:drawable="@mipmap/icon_foreground"/> <monochrome android:drawable="@mipmap/icon_monochrome"/> </adaptive-icon>
If not used, all we have to do is omit the <monochrome android:drawable="@mipmap/icon_monochrome"/> line and it will work as is today.
We already support Adaptive Icons and Themed Icons is part of it. By adding this Godot will also to encourage the right Android customization support.
The text was updated successfully, but these errors were encountered:
Feel free to open a pull request for this 🙂
Sorry, something went wrong.
update?
To my knowledge, nobody is currently working on this, but we welcome pull requests. The files to modify are:
Successfully merging a pull request may close this issue.
Describe the project you are working on
Android 13 introduces a new kind of customization: Themed Icons.
With it, it's possible to make the app's icons use the theme color.
Example:
Describe the problem or limitation you are having in your project
Currently Godot doesn't support Themed Icons without create a custom project.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Godot could have a
theme icon
field in the Launcher Icons options.Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Basicly, Godot supports adaptive icons with the following XML:
By adding one line, it will support themed icons (
<monochrome android:drawable="@mipmap/icon_monochrome"/>
:If this enhancement will not be used often, can it be worked around with a few lines of script?
If not used, all we have to do is omit the
<monochrome android:drawable="@mipmap/icon_monochrome"/>
line and it will work as is today.Is there a reason why this should be core and not an add-on in the asset library?
We already support Adaptive Icons and Themed Icons is part of it.
By adding this Godot will also to encourage the right Android customization support.
The text was updated successfully, but these errors were encountered: