WordPress-Android
WordPress-Android copied to clipboard
Add custom icon options.
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:
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.
If we find out this is possible, then I'll look at how we should present the options in the UI.
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.
If we implement this, it would be nice to also offer a themed icon for Android 12
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?
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 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.
Another request. 5280194-zen
+1 at #5332325-zen
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).
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).