Skip to content

Document Android adaptive icon build hints#4570

Merged
shai-almog merged 1 commit intomasterfrom
codex/update-developer-guide-for-adaptive-icons
Feb 25, 2026
Merged

Document Android adaptive icon build hints#4570
shai-almog merged 1 commit intomasterfrom
codex/update-developer-guide-for-adaptive-icons

Conversation

@shai-almog
Copy link
Collaborator

Motivation

  • Add documentation for new Android adaptive icon build hints so projects can opt into adaptive launcher icons and configure their background via build hints.

Description

  • Introduce three build hint entries: android.enableAdaptiveIcons which enables adaptive icon generation and causes Codename One to generate mipmap launcher resources (ic_launcher, ic_launcher_foreground, and adaptive XML in mipmap-anydpi-v26) and update the manifest android:icon and android:roundIcon, android.adaptiveIconBackground which sets the background color (defaults to #ffffff and is written as @color/ic_launcher_background), and android.adaptiveIconBackgroundImage which accepts a path relative to the native Android project and, when set, overrides the background color.

Testing

  • Built the documentation with asciidoctor to validate formatting and ensure the new entries render correctly, and the build completed successfully.

Codex Task

@github-actions
Copy link

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: 18803 alert(s) (2767 errors, 6378 warnings, 9658 suggestions) (exit code 1) (report)
  • Image references: No unused images detected (report)

@shai-almog shai-almog merged commit 68bb6b2 into master Feb 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant