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
Add a thin border around around app icons. It is there in almost every launcher app.
Many app icons have a white background and a border will help distinguish the icon from the drawer background.
There is no official API but the current icon shape can be fetched like this:
val iconMask = AdaptiveIconDrawable(ColorDrawable(BLACK), ColorDrawable(BLACK)).iconMask
Then we'll have to scale the mask, draw the shadow, and clip the icon drawables so they are the same shape as the icon mask.
Related:
This must be handled carefully to keep things smooth.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Feature description
Add a thin border around around app icons. It is there in almost every launcher app.
Why do you want this feature?
Many app icons have a white background and a border will help distinguish the icon from the drawer background.
Additional information
There is no official API but the current icon shape can be fetched like this:
Then we'll have to scale the mask, draw the shadow, and clip the icon drawables so they are the same shape as the icon mask.
Related:
This must be handled carefully to keep things smooth.
The text was updated successfully, but these errors were encountered: