WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

Add custom icon options.

Open mattmiklic opened this issue 3 years ago • 8 comments

On iOS we offer custom icons as it's an option provided by the system. Speaking with @ParaskP7 we wanted to explore whether it's possible to bring this to Android as well. There are five color options, but I'll show two for the sake of brevity:

Pink: Pink

Spectrum: Spectrum

I've exported all five background colors as separate SVGs. The foreground SVG is included in this zip, but it's unchanged from what we're currently using.

New-Icons.zip

If we find out this is possible, then I'll look at how we should present the options in the UI.

mattmiklic avatar Apr 16 '21 18:04 mattmiklic

Even if Android doesn't natively support applications with multiple icon types, this might be somewhat achievable by adding a new Widget type (like the existing "just the icon" widget) but in other (or selectable!) color styles that can be pinned to the desktop. Basically-this approach is used by the FeedMe feed reader app to allow users to add a custom-colored shortcut icon to their desktop.

Dan-Q avatar Jul 01 '21 15:07 Dan-Q

If we implement this, it would be nice to also offer a themed icon for Android 12

eduardozulian avatar Aug 27 '21 19:08 eduardozulian

Just wanted to add that some users at wpcom (5262120-zen) are also requesting the option to have custom icons or the ability to choose.

I wanted to note that the Android DuckDuckGo app had this feature. Would it be difficult to implement? Screenshot_20220605-125723 Screenshot_20220605-125736

kuropixel avatar Jun 05 '22 03:06 kuropixel

I'd love for us to add custom icon choices for Android the way we do on iOS. I wasn't aware that it was possible on Android but I recently found out it's available in Pocket Casts for Android as well.

mattmiklic avatar Jun 06 '22 22:06 mattmiklic

@mattmiklic Yes, with Pocket Casts you can choose your app icon. It generally works fine, but with the current implementation you end up with 2 icons - the original app icon and the custom icon that the user chose.

We normally just recommend that users drag the custom icon to their home screen. Some Launchers also allow you to hide the duplicate app icon.

joashrajin avatar Jun 07 '22 12:06 joashrajin

Another request. 5280194-zen

kuropixel avatar Jun 09 '22 07:06 kuropixel

+1 at #5332325-zen

joashrajin avatar Jun 28 '22 10:06 joashrajin

Just adding a bit of extra info here.

I just took a quick look at the behavior of both of them (DuckDuckGo and Pocket Casts) and they do it differently.

DDG

DDG does seem to change the icon of their launcher activity so the launcher icon is replaced by the one you chose. I am not 100% sure how they achieve this, but it looks like good behavior, though the app kinda looks like it crashed when it changed the icon (probably a forced app restart, on purpose).

image

Pocket Casts

Pocket Casts uses a different approach, having several disabled activity aliases for the launcher Activity, one for each icon, and enabling the one the user chooses, causing more than 1 launcher to appear, so you can choose the one you will put in your main screen. Having more than 1 launcher looks odd, even though the app does tell the user that multiple icons will appear in their launcher and that it might take a while for the icon to appear (probably depends on the launcher / device OEM).

image

thomashorta avatar Mar 02 '23 13:03 thomashorta