Skip to content
New issue

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

Show border/shadow around icons #89

Open
6 of 7 tasks
naveensingh opened this issue Jan 2, 2025 · 0 comments
Open
6 of 7 tasks

Show border/shadow around icons #89

naveensingh opened this issue Jan 2, 2025 · 0 comments
Labels
feature request Issue is about a new feature in the app

Comments

@naveensingh
Copy link
Member

naveensingh commented Jan 2, 2025

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
  • I optionally donated to support the Fossify mission.

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:

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.

@naveensingh naveensingh added feature request Issue is about a new feature in the app needs triage Issue is not yet ready for PR authors to take up and removed needs triage Issue is not yet ready for PR authors to take up labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is about a new feature in the app
Projects
None yet
Development

No branches or pull requests

1 participant