Skip to content

[Feature/Bug] Support Adaptive Icons / Layered XML drawables when creating shortcuts #187

Description

@FSSocrates

Environment

  • Device: Android phone / Launcher with circular icon mask
  • App Version: Latest release

Problem Statement

When creating an activity shortcut on the launcher, the icon does not scale fully to fill circular or squircle icon masks. Instead, it renders as a smaller bitmap inside a safe zone with padding around it. In contrast, shortcuts created by other shortcut manager applications fill the full canvas space properly.

Root Cause / Technical Context

The app appears to export shortcuts using static bitmaps or legacy intent APIs (Icon.createWithBitmap()) without separating background and foreground layers. Modern Android launchers expect Adaptive Icons (Icon.createWithAdaptiveBitmap() or ShortcutInfoCompat with separate foreground and background layers) to render edge-to-edge drawables properly.

Suggested Solution / Feature Request

Update the shortcut generation logic to extract layered vector drawables or build adaptive icons (Icon.createWithAdaptiveBitmap) so created shortcuts comply with modern launcher masking and safe-zone standards.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions